/** * * A handler function used to handle all the * calls made to native code. The purpose is * to make sure that the storage is initialized * before any read/write requests are sent to the * MMKV instance. * * * @param action The native function that will be called * @param args Arguments for the native function */ export declare function handleAction any | undefined | null>(action: T, ...args: any[]): ReturnType | undefined | null; /** * * A handler function used to handle all the * calls made to native code. The purpose is * to make sure that the storage is initialized * before any read/write requests are sent to the * MMKV instance. * * * @param action The native function that will be called * @param args Arguments for the native function */ export declare function handleActionAsync any | undefined | null>(action: T, ...args: any[]): Promise | undefined | null>; //# sourceMappingURL=handlers.d.ts.map