import { WebformState } from '@ws-ui/shared';
export declare const ROOT_WEBFORM_STATE: {
    label: string;
    id: string;
};
export declare const isBaseState: (state: WebformState) => boolean;
/**
 * Returns the list of declared states in the current tab.
 * @param tabPath the current tab path.
 * @param exclude states to exclude (by id)
 * @returns states or an empty array if not found.
 */
export declare const selectWebformStatesByPath: (tabPath: string, exclude?: string[]) => ((state: import('redux').EmptyObject & {
    root: import('../modules').IRootState;
    explorer: import('../modules').ITreeItem[];
    debugger: import('../modules').IDebuggerState;
    settings: import('../modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('../modules').IRolesState;
    sharedDatasources: import('../modules').ISharedDatasourcesState;
    sharedAppEvents: import('../modules').ISharedAppEventsState;
    savedConditions: import('../modules').ISavedConditionsState;
    webforms: import('../modules').IWebformEditorState;
    modals: import('../modules').IModalsState;
    sharedCSS: import('../modules').ISharedCSSState;
    model: import('../modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}) => WebformState[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
    initialLineInfo: {
        line: number;
        offset?: number;
        lastModification: number;
    };
    initialSelectionInfo: {
        selection: import('@ws-ui/shared').ITextEditorSelection;
        lastModification: number;
    };
    diffContent: string;
    attributes: import('@ws-ui/shared').IMethodAttributes;
    source: import('@ws-ui/shared').ISource;
    editor: import('@ws-ui/shared').IEditor;
    ext: import('@ws-ui/shared').DebuggerFileExtension;
    kind: string;
}>> | undefined) => WebformState[], {
    clearCache: () => void;
}> & {
    clearCache: () => void;
};
/**
 * Returns the list of states labels in the current tab.
 * @param tabPath the current tab path.
 * @param exclude states to exclude (by id)
 * @returns states labels or an empty array if not found.
 */
export declare const selectWebformStatesLabelsByPath: (tabPath: string, exclude?: string[]) => ((state: import('redux').EmptyObject & {
    root: import('../modules').IRootState;
    explorer: import('../modules').ITreeItem[];
    debugger: import('../modules').IDebuggerState;
    settings: import('../modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('../modules').IRolesState;
    sharedDatasources: import('../modules').ISharedDatasourcesState;
    sharedAppEvents: import('../modules').ISharedAppEventsState;
    savedConditions: import('../modules').ISavedConditionsState;
    webforms: import('../modules').IWebformEditorState;
    modals: import('../modules').IModalsState;
    sharedCSS: import('../modules').ISharedCSSState;
    model: import('../modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}) => string[]) & import('reselect').OutputSelectorFields<(args_0: WebformState[]) => string[], {
    clearCache: () => void;
}> & {
    clearCache: () => void;
};
/**
 * Returns the list of default states in the current tab.
 * @param tabPath the current tab path.
 * @returns default states ids array or an empty array if not found.
 */
export declare const selectDefaultWebformStatesByPath: (tabPath: string) => ((state: import('redux').EmptyObject & {
    root: import('../modules').IRootState;
    explorer: import('../modules').ITreeItem[];
    debugger: import('../modules').IDebuggerState;
    settings: import('../modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('../modules').IRolesState;
    sharedDatasources: import('../modules').ISharedDatasourcesState;
    sharedAppEvents: import('../modules').ISharedAppEventsState;
    savedConditions: import('../modules').ISavedConditionsState;
    webforms: import('../modules').IWebformEditorState;
    modals: import('../modules').IModalsState;
    sharedCSS: import('../modules').ISharedCSSState;
    model: import('../modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}) => string[]) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
    initialLineInfo: {
        line: number;
        offset?: number;
        lastModification: number;
    };
    initialSelectionInfo: {
        selection: import('@ws-ui/shared').ITextEditorSelection;
        lastModification: number;
    };
    diffContent: string;
    attributes: import('@ws-ui/shared').IMethodAttributes;
    source: import('@ws-ui/shared').ISource;
    editor: import('@ws-ui/shared').IEditor;
    ext: import('@ws-ui/shared').DebuggerFileExtension;
    kind: string;
}>> | undefined) => string[], {
    clearCache: () => void;
}> & {
    clearCache: () => void;
};
export declare const selectCurrentWebformStateByPath: (tabPath: string) => ((state: import('redux').EmptyObject & {
    root: import('../modules').IRootState;
    explorer: import('../modules').ITreeItem[];
    debugger: import('../modules').IDebuggerState;
    settings: import('../modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('../modules').IRolesState;
    sharedDatasources: import('../modules').ISharedDatasourcesState;
    sharedAppEvents: import('../modules').ISharedAppEventsState;
    savedConditions: import('../modules').ISavedConditionsState;
    webforms: import('../modules').IWebformEditorState;
    modals: import('../modules').IModalsState;
    sharedCSS: import('../modules').ISharedCSSState;
    model: import('../modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}) => WebformState) & import('reselect').OutputSelectorFields<(args_0: import('@ws-ui/shared').ITab<any, Partial<{
    initialLineInfo: {
        line: number;
        offset?: number;
        lastModification: number;
    };
    initialSelectionInfo: {
        selection: import('@ws-ui/shared').ITextEditorSelection;
        lastModification: number;
    };
    diffContent: string;
    attributes: import('@ws-ui/shared').IMethodAttributes;
    source: import('@ws-ui/shared').ISource;
    editor: import('@ws-ui/shared').IEditor;
    ext: import('@ws-ui/shared').DebuggerFileExtension;
    kind: string;
}>> | undefined) => WebformState, {
    clearCache: () => void;
}> & {
    clearCache: () => void;
};
/**
 * Returns the shared states conditions.
 */
export declare const selectSavedConditions: ((state: import('redux').EmptyObject & {
    root: import('../modules').IRootState;
    explorer: import('../modules').ITreeItem[];
    debugger: import('../modules').IDebuggerState;
    settings: import('../modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('../modules').IRolesState;
    sharedDatasources: import('../modules').ISharedDatasourcesState;
    sharedAppEvents: import('../modules').ISharedAppEventsState;
    savedConditions: import('../modules').ISavedConditionsState;
    webforms: import('../modules').IWebformEditorState;
    modals: import('../modules').IModalsState;
    sharedCSS: import('../modules').ISharedCSSState;
    model: import('../modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}) => import('@ws-ui/shared').WebformStateCondition[]) & import('reselect').OutputSelectorFields<(args_0: import('redux').CombinedState<{
    root: import('../modules').IRootState;
    explorer: import('../modules').ITreeItem[];
    debugger: import('../modules').IDebuggerState;
    settings: import('../modules').ISettingsState;
    catalog: {
        state: "loading";
    } | {
        state: "loaded";
        model: datasources.IEnhancedCatalog;
    } | {
        state: "error";
        error: string;
    };
    roles: import('../modules').IRolesState;
    sharedDatasources: import('../modules').ISharedDatasourcesState;
    sharedAppEvents: import('../modules').ISharedAppEventsState;
    savedConditions: import('../modules').ISavedConditionsState;
    webforms: import('../modules').IWebformEditorState;
    modals: import('../modules').IModalsState;
    sharedCSS: import('../modules').ISharedCSSState;
    model: import('../modules').IModelState;
    tasks: import('@ws-ui/shared').ISingleTask[];
}>) => import('@ws-ui/shared').WebformStateCondition[], {
    clearCache: () => void;
}> & {
    clearCache: () => void;
};
