telefunc
Version:
Remote functions. Instead of API.
9 lines (8 loc) • 414 B
TypeScript
export { useTelefuncContext };
export { TelefuncSSR };
import type { Telefunc } from '../../node/server/getContext/TelefuncNamespace.js';
declare function TelefuncSSR({ context, children, }: {
context?: Telefunc.Context;
children: unknown;
}): import("react").FunctionComponentElement<import("react").ProviderProps<Telefunc.Context | null>>;
declare function useTelefuncContext(): Telefunc.Context | null;