/**
 * rsc-router/loader (client version)
 *
 * Client-only stub for createLoader. Returns a minimal loader definition
 * that can be passed to hooks like useLoader. The actual loader function
 * is not included - it only exists on the server.
 *
 * The $$id is injected by the Vite exposeInternalIds plugin.
 */
import type { FetchableLoaderOptions, LoaderDefinition, LoaderFn } from "./types.js";
export declare function createLoader<T>(fn: LoaderFn<T, Record<string, string | undefined>, any>): LoaderDefinition<Awaited<T>, Record<string, string | undefined>>;
export declare function createLoader<T>(fn: LoaderFn<T, Record<string, string | undefined>, any>, fetchable: true): LoaderDefinition<Awaited<T>, Record<string, string | undefined>>;
export declare function createLoader<T>(fn: LoaderFn<T, Record<string, string | undefined>, any>, options: FetchableLoaderOptions): LoaderDefinition<Awaited<T>, Record<string, string | undefined>>;
//# sourceMappingURL=loader.d.ts.map