import type { NitroFetchOptions } from 'nitropack'; export type KirbyFetchOptions = Pick, 'onRequest' | 'onRequestError' | 'onResponse' | 'onResponseError' | 'method' | 'headers' | 'query' | 'body' | 'retry' | 'retryDelay' | 'retryStatusCodes' | 'timeout' | 'signal'> & { /** * Language code to fetch data for in multi-language Kirby setups. */ language?: string; /** * Cache the response between function calls for the same path. * @default true */ cache?: boolean; /** * By default, a cache key will be generated from the request options. * With this option, you can provide a custom cache key. * @default undefined */ key?: string; }; export declare function $kirby(path: string, opts?: KirbyFetchOptions): Promise;