interface AuthOptions { clientId: string; redirectUri: string; scopes?: string[]; onSuccess?: (code: string, codeVerifier: string) => void; onError?: (error: Error) => void; } export declare function useXAuth({ clientId, redirectUri, scopes, onSuccess, onError, }: AuthOptions): { startAuth: () => Promise; loading: boolean; error: string | null; }; export {}; //# sourceMappingURL=useXAuth.d.ts.map