/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import { type SourceConnectInput, type SourceSettings } from "@/lib/source-settings-shape";
export interface SourceSettingsResult {
    settings: SourceSettings | null;
    error: string | null;
    actionError: string | null;
    loading: boolean;
    acting: boolean;
    reload(): Promise<void>;
    connect(input?: SourceConnectInput): Promise<SourceSettings>;
    disconnect(): Promise<SourceSettings>;
}
export declare function useSourceSettings(): SourceSettingsResult;
