/// <reference types="react" />
import { ObservableValue } from '../utils/ObservableValue.js';
import { GeneratedConnectionInterfaces } from './types.js';
export interface ConnectionInterfaceConfig {
    getConnectionInterfaces: (connectionType: string) => Promise<string[]>;
    isConnectionInterfaceNameAvailable: (name: string) => Promise<boolean>;
    onImportPlugin?: (event: React.SyntheticEvent<any>) => void;
}
export declare const ConnectionInterfaceConfigProvider: import("react").Provider<ConnectionInterfaceConfig | undefined>;
export declare const GeneratedConnectionsProvider: import("react").Provider<ObservableValue<GeneratedConnectionInterfaces> | undefined>;
export declare function useConnectionInterfaceConfig(): ConnectionInterfaceConfig;
export declare function useGeneratedConnectionsManager(): {
    set(name: string, type: string, value: string): void;
    unset(name: string): void;
    getByType(type: string): string[];
    observable: ObservableValue<GeneratedConnectionInterfaces>;
};
export declare function useGeneratedConnections(type: string): string[];
export type GeneratedConnectionsManager = ReturnType<typeof useGeneratedConnectionsManager>;
//# sourceMappingURL=ConnectionInterface.d.ts.map