/** * Additional properties appended to react-query hooks by the library. * * The hooks are scoped to an `eden` property on the hook. * * @example * * const hello = eden.hello.useQuery() * * const edenPath = hello.eden.path */ export type WithEdenQueryExtension = T & { /** * Additional object appended by eden-query. */ eden: EdenExtendedQueryHooks; }; /** * Additional hooks added to the original react-query hook result. */ export type EdenExtendedQueryHooks = { /** * The path used to make the request. * * @example * * '/api/a/index' */ path: string; }; export type EdenQueryHookInput = { path: readonly string[]; }; export declare function getEdenQueryHookExtension(input: EdenQueryHookInput): EdenExtendedQueryHooks; //# sourceMappingURL=query-hook-extension.d.ts.map