/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { AuthConfigDraft, AuthConfigResponse, AuthConfigSaveResponse } from '@/lib/auth-config';
export interface UseAuthConfigResult {
    draft: AuthConfigDraft | null;
    source: AuthConfigResponse['source'] | null;
    loading: boolean;
    saving: boolean;
    error: string | null;
    saveError: string | null;
    save(draft: AuthConfigDraft): Promise<AuthConfigSaveResponse>;
}
export declare function useAuthConfig(): UseAuthConfigResult;
