@react-native-ohos/realm
Version:
Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores
24 lines (23 loc) • 756 B
TypeScript
/**
* Calls a function with a completion callback and turns it into a Promise.
* @internal
*/
export declare function _promisify<Args extends unknown[]>(nullAllowed: boolean, func: (cb: (...args: Args) => void) => void): Promise<unknown>;
/**
* Throws an error when a property is accessed before the native module has been injected.
* @internal
*/
export declare function _throwOnAccess(propertyName: string): void;
export declare class Float {
value: number;
constructor(value: number);
valueOf(): number;
}
export declare class Status {
isOk: boolean;
code?: number;
reason?: string;
constructor(isOk: boolean);
}
export declare const ListSentinel: unique symbol;
export declare const DictionarySentinel: unique symbol;