import { string } from 'yup'; import { type StateIconType } from '@dao-style/extend'; import { RestoreInitialStatus, RestoreTarget } from '../props'; import '../style/backup-restore'; declare const _default: import("vue").DefineComponent<{ restoreTo: { type: import("vue").PropType; default: RestoreTarget; }; instanceName: { type: StringConstructor; default: string; }; cluster: { type: StringConstructor; default: string; }; namespace: { type: StringConstructor; default: string; }; backupName: { type: StringConstructor; default: string; }; targetNameField: { type: StringConstructor; default: string; }; targetClusterField: { type: StringConstructor; default: string; }; targetNamespaceField: { type: StringConstructor; default: string; }; instanceNameProps: { type: import("vue").PropType>; default: () => {}; }; instanceClusterProps: { type: import("vue").PropType & Partial; options: string[]; optionDisabled: (val: string) => boolean; showRefreshBtn: boolean; } & { label?: string | undefined; yupConcat?: import("yup").BaseSchema | undefined; optionDisabledTooltip?: string | undefined; } & { onChange: () => void; }>>; default: () => {}; }; instanceNamespaceProps: { type: import("vue").PropType>; default: () => {}; }; instanceInstallationEnvProps: { type: import("vue").PropType void; }>>; default: () => {}; }; restoreFn: { type: import("vue").PropType<() => Promise>; default: undefined; }; restoreStatus: { type: import("vue").PropType; default: RestoreInitialStatus; }; detectStatusFn: { type: import("vue").PropType<() => Promise>; default: undefined; }; instanceOverviewLink: { type: StringConstructor; default: string; }; instanceListLink: { type: StringConstructor; default: string; }; }, { string: typeof string; nameVal: import("vue").ComputedRef; nameYupType: import("vue").ComputedRef>; RestoreTarget: typeof RestoreTarget; isEnvReady: import("vue").Ref; isPosting: import("vue").Ref; handleConfirm: () => Promise; isRecovering: import("vue").Ref; columns: import("vue").ComputedRef<({ id: string; header: string; defaultWidth: string; ellipsis?: undefined; } | { id: string; header: string; ellipsis: boolean; defaultWidth?: undefined; })[]>; data: import("vue").ComputedRef<({ task: string; statusText: string; status?: undefined; } | { task: string; status: string; statusText?: undefined; })[]>; statusMap: Record; RestoreInitialStatus: typeof RestoreInitialStatus; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:restore-to")[], "cancel" | "update:restore-to", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; default: RestoreTarget; }; instanceName: { type: StringConstructor; default: string; }; cluster: { type: StringConstructor; default: string; }; namespace: { type: StringConstructor; default: string; }; backupName: { type: StringConstructor; default: string; }; targetNameField: { type: StringConstructor; default: string; }; targetClusterField: { type: StringConstructor; default: string; }; targetNamespaceField: { type: StringConstructor; default: string; }; instanceNameProps: { type: import("vue").PropType>; default: () => {}; }; instanceClusterProps: { type: import("vue").PropType & Partial; options: string[]; optionDisabled: (val: string) => boolean; showRefreshBtn: boolean; } & { label?: string | undefined; yupConcat?: import("yup").BaseSchema | undefined; optionDisabledTooltip?: string | undefined; } & { onChange: () => void; }>>; default: () => {}; }; instanceNamespaceProps: { type: import("vue").PropType>; default: () => {}; }; instanceInstallationEnvProps: { type: import("vue").PropType void; }>>; default: () => {}; }; restoreFn: { type: import("vue").PropType<() => Promise>; default: undefined; }; restoreStatus: { type: import("vue").PropType; default: RestoreInitialStatus; }; detectStatusFn: { type: import("vue").PropType<() => Promise>; default: undefined; }; instanceOverviewLink: { type: StringConstructor; default: string; }; instanceListLink: { type: StringConstructor; default: string; }; }>> & { onCancel?: ((...args: any[]) => any) | undefined; "onUpdate:restore-to"?: ((...args: any[]) => any) | undefined; }, { cluster: string; namespace: string; restoreTo: RestoreTarget; instanceName: string; backupName: string; targetNameField: string; targetClusterField: string; targetNamespaceField: string; instanceNameProps: Partial; instanceClusterProps: Partial<{ readonly: boolean; required: boolean; field: string; helper: string; controlProps: Record & Partial; options: string[]; optionDisabled: (val: string) => boolean; showRefreshBtn: boolean; } & { label?: string | undefined; yupConcat?: import("yup").BaseSchema | undefined; optionDisabledTooltip?: string | undefined; } & { onChange: () => void; }>; instanceNamespaceProps: Partial; instanceInstallationEnvProps: Partial<{ loading: boolean; isEnvReady: boolean; clusterReady: boolean; namespaceReady: boolean; insightInstalled: boolean; insightNotNeed: boolean; operatorInstalled: boolean; } & { label?: string | undefined; insightInstallLink?: string | undefined; operatorName?: string | undefined; operatorInstallLink?: string | undefined; operatorHelper?: string | undefined; } & { onRecheck: () => void; }>; restoreFn: () => Promise; restoreStatus: RestoreInitialStatus; detectStatusFn: () => Promise; instanceOverviewLink: string; instanceListLink: string; }>; export default _default;