import type { ConnectorId } from '../ids/index.js';
import type { AuthConfig } from './core.js';
import type { ConnectorConfig } from './definition.js';
export type ConnectorScope = 'org' | 'environment' | 'team' | 'project' | 'agent';
export declare const CONNECTOR_SCOPE_ORDER: readonly ConnectorScope[];
export interface ScopeRef {
    scope: ConnectorScope;
    scopeId: string;
}
export interface ScopedConnectorConfig {
    scope: ScopeRef;
    connectorId: ConnectorId;
    config?: Partial<ConnectorConfig>;
    auth?: AuthConfig;
    enabled?: boolean;
    options?: Record<string, unknown>;
}
export interface ResolvedConnectorConfig {
    connectorId: ConnectorId;
    config: ConnectorConfig;
    auth?: AuthConfig;
    enabled: boolean;
    options: Record<string, unknown>;
    resolvedFrom: ScopeRef[];
}
export type ScopeChain = Partial<Record<ConnectorScope, string>>;
//# sourceMappingURL=scope.d.ts.map