import type { Component, PropType } from "vue";
import type { MaybePromise } from "@byloth/core";
import { Alert } from "../models/index.js";
import type { Duration } from "../types/index.js";
import type { AlertOptions } from "../types/alert/index.js";
type AnyContextResolver = (result?: MaybePromise<any>) => void;
declare var __VLS_8: {
    alert: Alert<any, any>;
    customComponent: Component | undefined;
    isOpen: boolean;
    queue: number;
    resolve: AnyContextResolver;
    reject: import("@byloth/core").PromiseRejecter;
};
type __VLS_Slots = {} & {
    default?: (props: typeof __VLS_8) => any;
};
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
    is: {
        default: string;
        type: PropType<string | Component>;
    };
    filter: {
        default: () => boolean;
        type: PropType<(options: AlertOptions<unknown, Record<string, unknown>>) => boolean>;
    };
    transitionDuration: {
        default: () => number | Duration;
        type: PropType<number | Duration>;
        validator: (value: unknown) => boolean;
    };
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
    opening: (alert: Alert<unknown, Record<string, unknown>>) => void;
    opened: (alert: Alert<unknown, Record<string, unknown>>) => void;
    closing: (alert: Alert<unknown, Record<string, unknown>>) => void;
    closed: (alert: Alert<unknown, Record<string, unknown>>) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    is: {
        default: string;
        type: PropType<string | Component>;
    };
    filter: {
        default: () => boolean;
        type: PropType<(options: AlertOptions<unknown, Record<string, unknown>>) => boolean>;
    };
    transitionDuration: {
        default: () => number | Duration;
        type: PropType<number | Duration>;
        validator: (value: unknown) => boolean;
    };
}>> & Readonly<{
    onOpening?: ((alert: Alert<unknown, Record<string, unknown>>) => any) | undefined;
    onOpened?: ((alert: Alert<unknown, Record<string, unknown>>) => any) | undefined;
    onClosing?: ((alert: Alert<unknown, Record<string, unknown>>) => any) | undefined;
    onClosed?: ((alert: Alert<unknown, Record<string, unknown>>) => any) | undefined;
}>, {
    filter: (options: AlertOptions<unknown, Record<string, unknown>>) => boolean;
    transitionDuration: number | Duration;
    is: string | Component;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
