import * as ng_primitives_state from 'ng-primitives/state'; import * as _angular_core from '@angular/core'; import { InjectionToken, Provider } from '@angular/core'; import * as flowbite_angular_modal from 'flowbite-angular/modal'; import { FlowbiteSizes, DeepPartial, FlowbitePositions } from 'flowbite-angular'; import * as i1 from 'ng-primitives/dialog'; interface FlowbiteModalSizes extends Pick { [key: string]: string; } interface FlowbiteModalTheme { host: FlowbiteModalHostTheme; } interface FlowbiteModalHostTheme { base: string; transition: string; size: FlowbiteModalSizes; } declare const flowbiteModalTheme: FlowbiteModalTheme; declare class Modal { protected readonly config: flowbite_angular_modal.FlowbiteModalConfig; /** * @see {@link injectFlowbiteModalConfig} */ readonly size: _angular_core.InputSignal; /** * @see {@link injectFlowbiteModalConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; size?: { [x: string]: string | undefined; sm?: string | undefined; md?: string | undefined; lg?: string | undefined; xl?: string | undefined; } | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; /** * @internal */ readonly state: ng_primitives_state.CreatedState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare const FlowbiteModalStateToken: _angular_core.InjectionToken; declare const provideFlowbiteModalState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteModalState: ; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; size?: { [x: string]: string | undefined; sm?: string | undefined; md?: string | undefined; lg?: string | undefined; xl?: string | undefined; } | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal>; declare const flowbiteModalState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteModalConfig { /** * The default theme of modal */ baseTheme: FlowbiteModalTheme; /** * The default size of modal */ size: keyof FlowbiteSizes; /** * The custom theme of modal */ customTheme: DeepPartial; } declare const defaultFlowbiteModalConfig: FlowbiteModalConfig; declare const FlowbiteModalConfigToken: InjectionToken; /** * Provide the default Modal configuration * @param config The Modal configuration * @returns The provider */ declare const provideFlowbiteModalConfig: (config: Partial) => Provider[]; /** * Inject the Modal configuration * @see {@link defaultFlowbiteModalConfig} * @returns The configuration */ declare const injectFlowbiteModalConfig: () => FlowbiteModalConfig; interface FlowbiteModalOverlayPositions extends Pick { [key: string]: string; } interface FlowbiteModalOverlayTheme { host: FlowbiteModalOverlayHostTheme; } interface FlowbiteModalOverlayHostTheme { base: string; transition: string; position: FlowbiteModalOverlayPositions; } declare const flowbiteModalOverlayTheme: FlowbiteModalOverlayTheme; declare class ModalOverlay { protected readonly config: flowbite_angular_modal.FlowbiteModalOverlayConfig; /** * @see {@link injectFlowbiteModalOverlayConfig} */ readonly position: _angular_core.InputSignal; /** * @see {@link injectFlowbiteModalOverlayConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; position?: { [x: string]: string | undefined; center?: string | undefined; 'top-left'?: string | undefined; 'top-right'?: string | undefined; 'bottom-left'?: string | undefined; 'bottom-right'?: string | undefined; 'top-center'?: string | undefined; 'bottom-center'?: string | undefined; 'center-left'?: string | undefined; 'center-right'?: string | undefined; } | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; /** * @internal */ readonly state: ng_primitives_state.CreatedState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare const FlowbiteModalOverlayStateToken: _angular_core.InjectionToken; declare const provideFlowbiteModalOverlayState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteModalOverlayState: ; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; position?: { [x: string]: string | undefined; center?: string | undefined; 'top-left'?: string | undefined; 'top-right'?: string | undefined; 'bottom-left'?: string | undefined; 'bottom-right'?: string | undefined; 'top-center'?: string | undefined; 'bottom-center'?: string | undefined; 'center-left'?: string | undefined; 'center-right'?: string | undefined; } | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal>; declare const flowbiteModalOverlayState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteModalOverlayConfig { /** * The default theme of modalOverlay */ baseTheme: FlowbiteModalOverlayTheme; /** * The default position of modalOverlay */ position: keyof FlowbiteModalOverlayPositions; /** * The custom theme of modalOverlay */ customTheme: DeepPartial; } declare const defaultFlowbiteModalOverlayConfig: FlowbiteModalOverlayConfig; declare const FlowbiteModalOverlayConfigToken: InjectionToken; /** * Provide the default ModalOverlay configuration * @param config The ModalOverlay configuration * @returns The provider */ declare const provideFlowbiteModalOverlayConfig: (config: Partial) => Provider[]; /** * Inject the ModalOverlay configuration * @see {@link defaultFlowbiteModalOverlayConfig} * @returns The configuration */ declare const injectFlowbiteModalOverlayConfig: () => FlowbiteModalOverlayConfig; declare class ModalHeader { protected readonly config: flowbite_angular_modal.FlowbiteModalHeaderConfig; /** * @see {@link injectFlowbiteModalHeaderConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; /** * @internal */ readonly state: ng_primitives_state.CreatedState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare const FlowbiteModalHeaderStateToken: _angular_core.InjectionToken; declare const provideFlowbiteModalHeaderState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteModalHeaderState: ; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal>; declare const flowbiteModalHeaderState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteModalHeaderTheme { host: FlowbiteModalHeaderHostTheme; } interface FlowbiteModalHeaderHostTheme { base: string; transition: string; } declare const flowbiteModalHeaderTheme: FlowbiteModalHeaderTheme; interface FlowbiteModalHeaderConfig { /** * The default theme of modalHeader */ baseTheme: FlowbiteModalHeaderTheme; /** * The custom theme of modalHeader */ customTheme: DeepPartial; } declare const defaultFlowbiteModalHeaderConfig: FlowbiteModalHeaderConfig; declare const FlowbiteModalHeaderConfigToken: InjectionToken; /** * Provide the default ModalHeader configuration * @param config The ModalHeader configuration * @returns The provider */ declare const provideFlowbiteModalHeaderConfig: (config: Partial) => Provider[]; /** * Inject the ModalHeader configuration * @see {@link defaultFlowbiteModalHeaderConfig} * @returns The configuration */ declare const injectFlowbiteModalHeaderConfig: () => FlowbiteModalHeaderConfig; declare class ModalContent { protected readonly config: flowbite_angular_modal.FlowbiteModalContentConfig; /** * @see {@link injectFlowbiteModalContentConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; /** * @internal */ readonly state: ng_primitives_state.CreatedState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare const FlowbiteModalContentStateToken: _angular_core.InjectionToken; declare const provideFlowbiteModalContentState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteModalContentState: ; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal>; declare const flowbiteModalContentState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteModalContentTheme { host: FlowbiteModalContentHostTheme; } interface FlowbiteModalContentHostTheme { base: string; transition: string; } declare const flowbiteModalContentTheme: FlowbiteModalContentTheme; interface FlowbiteModalContentConfig { /** * The default theme of modalContent */ baseTheme: FlowbiteModalContentTheme; /** * The custom theme of modalContent */ customTheme: DeepPartial; } declare const defaultFlowbiteModalContentConfig: FlowbiteModalContentConfig; declare const FlowbiteModalContentConfigToken: InjectionToken; /** * Provide the default ModalContent configuration * @param config The ModalContent configuration * @returns The provider */ declare const provideFlowbiteModalContentConfig: (config: Partial) => Provider[]; /** * Inject the ModalContent configuration * @see {@link defaultFlowbiteModalContentConfig} * @returns The configuration */ declare const injectFlowbiteModalContentConfig: () => FlowbiteModalContentConfig; declare class ModalFooter { protected readonly config: flowbite_angular_modal.FlowbiteModalFooterConfig; /** * @see {@link injectFlowbiteModalFooterConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; /** * @internal */ readonly state: ng_primitives_state.CreatedState; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare const FlowbiteModalFooterStateToken: _angular_core.InjectionToken; declare const provideFlowbiteModalFooterState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteModalFooterState: ; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal>; declare const flowbiteModalFooterState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteModalFooterTheme { host: FlowbiteModalFooterHostTheme; } interface FlowbiteModalFooterHostTheme { base: string; transition: string; } declare const flowbiteModalFooterTheme: FlowbiteModalFooterTheme; interface FlowbiteModalFooterConfig { /** * The default theme of modalFooter */ baseTheme: FlowbiteModalFooterTheme; /** * The custom theme of modalFooter */ customTheme: DeepPartial; } declare const defaultFlowbiteModalFooterConfig: FlowbiteModalFooterConfig; declare const FlowbiteModalFooterConfigToken: InjectionToken; /** * Provide the default ModalFooter configuration * @param config The ModalFooter configuration * @returns The provider */ declare const provideFlowbiteModalFooterConfig: (config: Partial) => Provider[]; /** * Inject the ModalFooter configuration * @see {@link defaultFlowbiteModalFooterConfig} * @returns The configuration */ declare const injectFlowbiteModalFooterConfig: () => FlowbiteModalFooterConfig; export { FlowbiteModalConfigToken, FlowbiteModalContentConfigToken, FlowbiteModalContentStateToken, FlowbiteModalFooterConfigToken, FlowbiteModalFooterStateToken, FlowbiteModalHeaderConfigToken, FlowbiteModalHeaderStateToken, FlowbiteModalOverlayConfigToken, FlowbiteModalOverlayStateToken, FlowbiteModalStateToken, Modal, ModalContent, ModalFooter, ModalHeader, ModalOverlay, defaultFlowbiteModalConfig, defaultFlowbiteModalContentConfig, defaultFlowbiteModalFooterConfig, defaultFlowbiteModalHeaderConfig, defaultFlowbiteModalOverlayConfig, flowbiteModalContentState, flowbiteModalContentTheme, flowbiteModalFooterState, flowbiteModalFooterTheme, flowbiteModalHeaderState, flowbiteModalHeaderTheme, flowbiteModalOverlayState, flowbiteModalOverlayTheme, flowbiteModalState, flowbiteModalTheme, injectFlowbiteModalConfig, injectFlowbiteModalContentConfig, injectFlowbiteModalContentState, injectFlowbiteModalFooterConfig, injectFlowbiteModalFooterState, injectFlowbiteModalHeaderConfig, injectFlowbiteModalHeaderState, injectFlowbiteModalOverlayConfig, injectFlowbiteModalOverlayState, injectFlowbiteModalState, provideFlowbiteModalConfig, provideFlowbiteModalContentConfig, provideFlowbiteModalContentState, provideFlowbiteModalFooterConfig, provideFlowbiteModalFooterState, provideFlowbiteModalHeaderConfig, provideFlowbiteModalHeaderState, provideFlowbiteModalOverlayConfig, provideFlowbiteModalOverlayState, provideFlowbiteModalState }; export type { FlowbiteModalConfig, FlowbiteModalContentConfig, FlowbiteModalContentHostTheme, FlowbiteModalContentTheme, FlowbiteModalFooterConfig, FlowbiteModalFooterHostTheme, FlowbiteModalFooterTheme, FlowbiteModalHeaderConfig, FlowbiteModalHeaderHostTheme, FlowbiteModalHeaderTheme, FlowbiteModalHostTheme, FlowbiteModalOverlayConfig, FlowbiteModalOverlayHostTheme, FlowbiteModalOverlayPositions, FlowbiteModalOverlayTheme, FlowbiteModalSizes, FlowbiteModalTheme };