/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { SourceConnectInput, SourceSettings, SourceSettingsOperation } from "./source-settings-shape.js";
export type { SourceConnectInput, SourceConnectionStatus, SourceRefInfo, SourceRepository, SourceSettings, SourceSettingsOperation, } from "./source-settings-shape.js";
export interface SourceSettingsBackend {
    getSourceSettings(req: Request): Promise<SourceSettings>;
    connectSource(req: Request, input: SourceConnectInput): Promise<SourceSettingsOperation>;
    disconnectSource(req: Request): Promise<SourceSettingsOperation>;
}
export declare function getSourceSettingsBackend(): SourceSettingsBackend;
export declare function setSourceSettingsBackend(backend: SourceSettingsBackend | null): void;
