/**
 * 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.
 */
// Implementation - client stub that just returns the loader definition
// The $$id parameter is injected by Vite plugin, not user-provided
export function createLoader(_fn, _fetchable, __injectedId) {
    // Client only needs the $$id for identification
    // The actual loader function is only used on the server
    return {
        __brand: "loader",
        $$id: __injectedId || "",
    };
}
//# sourceMappingURL=loader.js.map