import type { UmbModalConfig } from '../types.js'; export interface UmbModalTokenDefaults { modal?: UmbModalConfig; data?: ModalDataType; value?: ModalValueType; } export declare class UmbModalToken { #private; /** * Get the data type of the token's data. * @public * @type {ModalDataType} * @memberOf UmbModalToken * @example `typeof MyModal.TYPE` * @returns undefined */ readonly DATA: ModalDataType; /** * Get the value type of the token * @public * @type {ModalValueType} * @memberOf UmbModalToken * @example `typeof MyModal.VALUE` * @returns undefined */ readonly VALUE: ModalValueType; /** * @param alias Unique identifier for the token, * @param defaults Defaults for the modal, */ constructor(alias: string, defaults?: UmbModalTokenDefaults); /** * This method must always return the unique alias of the token since that * will be used to look up the token in the injector. * @returns the unique alias of the token */ toString(): string; getDefaultModal(): UmbModalConfig | undefined; getDefaultData(): ModalDataType | undefined; getDefaultValue(): ModalValueType | undefined; }