first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import { type EventEmitter as EventEmitterType, type EventSubscription, EventsMap } from '../ts-declarations/EventEmitter';
import type { NativeModule as NativeModuleType } from '../ts-declarations/NativeModule';
import type { SharedObject as SharedObjectType } from '../ts-declarations/SharedObject';
import type { SharedRef as SharedRefType } from '../ts-declarations/SharedRef';
export declare class EventEmitter<TEventsMap extends EventsMap> implements EventEmitterType {
private listeners?;
addListener<EventName extends keyof TEventsMap>(eventName: EventName, listener: TEventsMap[EventName]): EventSubscription;
removeListener<EventName extends keyof TEventsMap>(eventName: EventName, listener: TEventsMap[EventName]): void;
removeAllListeners<EventName extends keyof TEventsMap>(eventName: EventName): void;
emit<EventName extends keyof TEventsMap>(eventName: EventName, ...args: Parameters<TEventsMap[EventName]>): void;
listenerCount<EventName extends keyof TEventsMap>(eventName: EventName): number;
startObserving<EventName extends keyof TEventsMap>(eventName: EventName): void;
stopObserving<EventName extends keyof TEventsMap>(eventName: EventName): void;
}
export declare class NativeModule<TEventsMap extends Record<never, never>> extends EventEmitter<TEventsMap> implements NativeModuleType {
[key: string]: any;
ViewPrototypes?: {
[viewName: string]: object;
};
__expo_module_name__?: string;
}
export declare class SharedObject<TEventsMap extends Record<never, never>> extends EventEmitter<TEventsMap> implements SharedObjectType {
release(): void;
}
export declare class SharedRef<TNativeRefType extends string = 'unknown', TEventsMap extends EventsMap = Record<never, never>> extends SharedObject<TEventsMap> implements SharedRefType<TNativeRefType> {
nativeRefType: string;
}
//# sourceMappingURL=CoreModule.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CoreModule.d.ts","sourceRoot":"","sources":["../../src/polyfill/CoreModule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,IAAI,gBAAgB,EACrC,KAAK,iBAAiB,EACtB,SAAS,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,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AAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChD,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,qBAAa,YAAY,CAAC,UAAU,SAAS,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAC/D,SAAQ,YAAY,CAAC,UAAU,CAC/B,YAAW,gBAAgB;IAE3B,OAAO,IAAI,IAAI;CAGhB;AAED,qBAAa,SAAS,CAClB,cAAc,SAAS,MAAM,GAAG,SAAS,EACzC,UAAU,SAAS,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAErD,SAAQ,YAAY,CAAC,UAAU,CAC/B,YAAW,aAAa,CAAC,cAAc,CAAC;IAExC,aAAa,EAAE,MAAM,CAAa;CACnC"}

View File

@@ -0,0 +1,3 @@
export * from '../ts-declarations/global';
export declare function installExpoGlobalPolyfill(): void;
//# sourceMappingURL=dangerous-internal.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"dangerous-internal.d.ts","sourceRoot":"","sources":["../../src/polyfill/dangerous-internal.ts"],"names":[],"mappings":"AAKA,cAAc,2BAA2B,CAAC;AAE1C,wBAAgB,yBAAyB,SA0BxC"}

View File

@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/polyfill/index.ts"],"names":[],"mappings":""}

View File

@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=index.web.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../src/polyfill/index.web.ts"],"names":[],"mappings":""}