import { Connection } from '../types/Connection';
import { ConnectionViewType } from '../types/ConnectionViewType';
import { SessionSettings, VaultAction } from '../types/Session';
export declare const useConnectionActions: () => {
    isReAuthorizing: boolean;
    handleRedirect: (url: string, onConnectionChange?: ((connection: Connection) => any) | undefined) => Promise<void>;
    handleDisable: (setCurrentView?: ((view: ConnectionViewType | undefined | null) => void) | undefined, showButtonLayout?: boolean | undefined) => Promise<void>;
    handleEnable: (setCurrentView?: ((view: ConnectionViewType | undefined | null) => void) | undefined, showButtonLayout?: boolean | undefined) => Promise<void>;
    isActionAllowedForSettings: (settings?: SessionSettings | undefined) => (action: VaultAction) => boolean;
};
