UNPKG

@tanstack/solid-start

Version:

Modern and scalable routing for Solid applications

13 lines (12 loc) 625 B
import { TSS_SERVER_FUNCTION, ServerFnMeta } from '@tanstack/start-client-core'; import { ServerFunctionReference } from '@solidjs/web/server-functions/server'; export declare const SOLID_SERVER_REFERENCE: unique symbol; export type SolidRegisteredServerFn = { [SOLID_SERVER_REFERENCE]?: ServerFunctionReference; }; export declare const createServerRpc: (serverFnMeta: ServerFnMeta, splitImportFn: (...args: Array<any>) => any) => ((...args: Array<any>) => any) & { url: string; serverFnMeta: ServerFnMeta; [SOLID_SERVER_REFERENCE]: ServerFunctionReference<any[], any>; [TSS_SERVER_FUNCTION]: boolean; };