import type { MaybePromise, StoreReadOptions, StoreRecord, StoreResult } from "../types.js"; interface StoreHookReadApi { readAll?(entity: string, context: unknown, options?: StoreReadOptions): MaybePromise | StoreRecord[] | null | undefined>; readById?(entity: string, id: string, context: unknown, options?: StoreReadOptions): MaybePromise | StoreRecord | null | undefined>; } declare function hookResultData(input: unknown, fallback: T): T; declare function hookReadAll(api: StoreHookReadApi | null | undefined, entity: string, context?: unknown, options?: StoreReadOptions | undefined): Promise; declare function hookReadById(api: StoreHookReadApi | null | undefined, entity: string, id: string, context?: unknown, options?: StoreReadOptions | undefined): Promise; export { hookReadAll, hookReadById, hookResultData, }; export type { StoreHookReadApi, }; //# sourceMappingURL=hook-reads.d.ts.map