import * as plugins from '../plugins.js';
import * as interfaces from '../../dist_ts_interfaces/index.js';
export interface IRemoteIngressState {
    edges: interfaces.data.IRemoteIngress[];
    statuses: interfaces.data.IRemoteIngressStatus[];
    hubSettings: interfaces.data.IRemoteIngressHubSettings | null;
    selectedEdgeId: string | null;
    newEdgeId: string | null;
    isLoading: boolean;
    error: string | null;
    lastUpdated: number;
}
export declare const remoteIngressStatePart: plugins.deesElement.domtools.plugins.smartstate.StatePart<string, IRemoteIngressState>;
export declare function fetchConnectionToken(edgeId: string): Promise<{
    success: boolean;
    token?: string;
    message?: string;
}>;
export declare const fetchRemoteIngressAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, unknown>;
export declare const createRemoteIngressAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, {
    name: string;
    listenPorts?: number[];
    autoDerivePorts?: boolean;
    performance?: interfaces.data.IRemoteIngressPerformanceConfig;
    tags?: string[];
}>;
export declare const deleteRemoteIngressAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, string>;
export declare const updateRemoteIngressAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, {
    id: string;
    name?: string;
    listenPorts?: number[];
    autoDerivePorts?: boolean;
    performance?: interfaces.data.IRemoteIngressPerformanceConfig;
    tags?: string[];
}>;
export declare const updateRemoteIngressHubSettingsAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, {
    enabled?: boolean;
    tunnelPort?: number;
    hubDomain?: string | null;
    performance?: interfaces.data.IRemoteIngressPerformanceConfig | null;
}>;
export declare const regenerateRemoteIngressSecretAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, string>;
export declare const clearNewEdgeIdAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, unknown>;
export declare const toggleRemoteIngressAction: plugins.deesElement.domtools.plugins.smartstate.StateAction<IRemoteIngressState, {
    id: string;
    enabled: boolean;
}>;
