import { render, h } from "preact"; export declare function useQuery(name: string, ...args: TArgs): { data: T | undefined; isLoading: boolean; error: Error | null; refetch: () => Promise; }; export declare function useMutation(name: string): [(...args: TArgs) => Promise, { isLoading: boolean; error: Error | null; }]; export interface AuthState { isLoading: boolean; isGuest: boolean; userId: string; displayName?: string; picture?: string; email?: string; } export declare function useAuth(): AuthState; export declare function SignInWithGoogle(props?: Record): import("preact").VNode & { onClick: (event: MouseEvent) => void; type: any; }>; export declare function signOut(): Promise; export { render, h }; //# sourceMappingURL=index.d.ts.map