import { SafeContextOptions } from 'fastapi-rtk/utils'; import { ApiContextValue, ApiTypeOverrides, EntryRow, UseApiResult } from './types'; export declare const ApiContextProvider: import('react').Provider | null>, useApiProvider: (options?: SafeContextOptions>) => ApiContextValue; /** * Access the API context. * * @typeParam TDefault - Uniform row/payload type applied to every operation. Defaults to the dynamic `EntryRow`. * @typeParam TOverrides - Per-operation overrides (`list` / `get` / `add` / `edit`); each replaces `TDefault` for that operation only. * @param options - Options for the context hook. * @returns The API context object, with `data`, `getEntry`, `addEntry`, `updateEntry`, etc. typed per operation. */ export declare const useApi: (options?: SafeContextOptions>) => UseApiResult;