import PageLayout from '../../layouts/PageLayout.vue';
import StandardScreenBoundary from './StandardScreenBoundary.vue';
const props = defineProps();
const __VLS_emit = defineEmits(); // @ts-ignore
const __VLS_ctx = {
    ...{},
    ...{},
    ...{},
    ...{},
};
let __VLS_components;
let __VLS_intrinsics;
let __VLS_directives;
const __VLS_0 = PageLayout || PageLayout;
// @ts-ignore
const __VLS_1 = __VLS_asFunctionalComponent1(__VLS_0, new __VLS_0({
    title: (props.title),
    subtitle: (props.subtitle),
    status: (props.state),
}));
const __VLS_2 = __VLS_1({
    title: (props.title),
    subtitle: (props.subtitle),
    status: (props.state),
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
var __VLS_5;
const { default: __VLS_6 } = __VLS_3.slots;
{
    const { summary: __VLS_7 } = __VLS_3.slots;
    __VLS_asFunctionalElement1(__VLS_intrinsics.div, __VLS_intrinsics.div)({
        ...{ class: "ks-card ks-wizard-progress" },
        role: "status",
    });
    /** @type {__VLS_StyleScopedClasses['ks-card']} */ ;
    /** @type {__VLS_StyleScopedClasses['ks-wizard-progress']} */ ;
    (__VLS_ctx.currentStep);
    (__VLS_ctx.totalSteps);
    __VLS_asFunctionalElement1(__VLS_intrinsics.progress)({
        value: (__VLS_ctx.currentStep),
        max: (__VLS_ctx.totalSteps),
    });
    // @ts-ignore
    [currentStep, currentStep, totalSteps, totalSteps,];
}
const __VLS_8 = StandardScreenBoundary || StandardScreenBoundary;
// @ts-ignore
const __VLS_9 = __VLS_asFunctionalComponent1(__VLS_8, new __VLS_8({
    ...{ 'onRetry': {} },
    state: (props.state),
    warning: (props.warning),
}));
const __VLS_10 = __VLS_9({
    ...{ 'onRetry': {} },
    state: (props.state),
    warning: (props.warning),
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
let __VLS_13;
const __VLS_14 = {
    /** @type {typeof __VLS_13.retry} */
    onRetry: (...[$event]) => {
        return (__VLS_ctx.$emit('retry'));
        // @ts-ignore
        [$emit,];
    },
};
const { default: __VLS_15 } = __VLS_11.slots;
var __VLS_16 = {};
// @ts-ignore
[];
var __VLS_11;
var __VLS_12;
{
    const { footer: __VLS_18 } = __VLS_3.slots;
    var __VLS_19 = {};
    __VLS_asFunctionalElement1(__VLS_intrinsics.button, __VLS_intrinsics.button)({
        ...{ onClick: (...[$event]) => {
                return (__VLS_ctx.$emit('previous'));
                // @ts-ignore
                [$emit,];
            } },
        type: "button",
        disabled: (__VLS_ctx.currentStep <= 1),
    });
    if (__VLS_ctx.currentStep < __VLS_ctx.totalSteps) {
        __VLS_asFunctionalElement1(__VLS_intrinsics.button, __VLS_intrinsics.button)({
            ...{ onClick: (...[$event]) => {
                    if (!(__VLS_ctx.currentStep < __VLS_ctx.totalSteps))
                        throw 0;
                    return (__VLS_ctx.$emit('next'));
                    // @ts-ignore
                    [currentStep, currentStep, totalSteps, $emit,];
                } },
            type: "button",
        });
    }
    else {
        __VLS_asFunctionalElement1(__VLS_intrinsics.button, __VLS_intrinsics.button)({
            ...{ onClick: (...[$event]) => {
                    if (!!(__VLS_ctx.currentStep < __VLS_ctx.totalSteps))
                        throw 0;
                    return (__VLS_ctx.$emit('finish'));
                    // @ts-ignore
                    [$emit,];
                } },
            type: "button",
        });
    }
    // @ts-ignore
    [];
}
// @ts-ignore
[];
var __VLS_3;
// @ts-ignore
var __VLS_17 = __VLS_16, __VLS_20 = __VLS_19;
// @ts-ignore
[];
const __VLS_base = (await import('vue')).defineComponent({
    __typeEmits: {},
    __typeProps: {},
});
const __VLS_export = {};
export default {};
