import type { Database } from '../..';
export type Options = Omit<RequestInit, 'body'> & {
    body: any;
};
export declare const serverFetch: (_db: Database) => <ReturnType extends object>(path: string, _options?: Options, abortController?: AbortController) => Promise<{
    error: unknown;
    data: null;
} | {
    error: null;
    data: ReturnType;
}>;
