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_alert from 'flowbite-angular/alert'; import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, DeepPartial } from 'flowbite-angular'; import * as i1 from 'ng-primitives/button'; import * as i2 from 'ng-primitives/interactions'; declare class Alert { readonly config: flowbite_angular_alert.FlowbiteAlertConfig; /** * @see {@link injectFlowbiteAlertConfig} */ readonly color: _angular_core.InputSignal; /** * @see {@link injectFlowbiteAlertConfig} */ readonly border: _angular_core.InputSignalWithTransform; /** * @see {@link injectFlowbiteAlertConfig} */ readonly accent: _angular_core.InputSignalWithTransform; /** * @see {@link injectFlowbiteAlertConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | undefined; } | undefined; border?: { off?: string | undefined; on?: string | undefined; } | undefined; accent?: { off?: string | undefined; on?: 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 FlowbiteAlertStateToken: _angular_core.InjectionToken; declare const provideFlowbiteAlertState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteAlertState: ; readonly border: _angular_core.InputSignalWithTransform; readonly accent: _angular_core.InputSignalWithTransform; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | undefined; } | undefined; border?: { off?: string | undefined; on?: string | undefined; } | undefined; accent?: { off?: string | undefined; on?: 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 flowbiteAlertState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteAlertColors extends Pick { [key: string]: ColorToTheme; } interface FlowbiteAlertTheme { host: FlowbiteAlertHostTheme; } interface FlowbiteAlertHostTheme { base: string; transition: string; color: FlowbiteAlertColors; border: FlowbiteBoolean; accent: FlowbiteBoolean; } declare const flowbiteAlertTheme: FlowbiteAlertTheme; interface FlowbiteAlertConfig { /** * The default theme of alert */ baseTheme: FlowbiteAlertTheme; /** * The default color of alert */ color: keyof FlowbiteAlertColors; /** * Wether the alert has border */ border: boolean; /** * Wether the alert has border accent */ accent: boolean; /** * The custom theme of alert */ customTheme: DeepPartial; } declare const defaultFlowbiteAlertConfig: FlowbiteAlertConfig; declare const FlowbiteAlertConfigToken: InjectionToken; /** * Provide the default Alert configuration * @param config The Alert configuration * @returns The provider */ declare const provideFlowbiteAlertConfig: (config: Partial) => Provider[]; /** * Inject the Alert configuration * @see {@link defaultFlowbiteAlertConfig} * @returns The configuration */ declare const injectFlowbiteAlertConfig: () => FlowbiteAlertConfig; declare class AlertButton { readonly config: flowbite_angular_alert.FlowbiteAlertButtonConfig; readonly alertState: _angular_core.Signal; readonly border: _angular_core.InputSignalWithTransform; readonly accent: _angular_core.InputSignalWithTransform; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | undefined; } | undefined; border?: { off?: string | undefined; on?: string | undefined; } | undefined; accent?: { off?: string | undefined; on?: string | undefined; } | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>>; /** * @see {@link injectFlowbiteAlertButtonConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | 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 FlowbiteAlertButtonStateToken: _angular_core.InjectionToken; declare const provideFlowbiteAlertButtonState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteAlertButtonState: >; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | 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 flowbiteAlertButtonState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteAlertButtonTheme { host: FlowbiteAlertButtonHostTheme; } interface FlowbiteAlertButtonHostTheme { base: string; transition: string; color: FlowbiteAlertColors; } declare const flowbiteAlertButtonTheme: FlowbiteAlertButtonTheme; interface FlowbiteAlertButtonConfig { /** * The default theme of AlertButton */ baseTheme: FlowbiteAlertButtonTheme; /** * The custom theme of AlertButton */ customTheme: DeepPartial; } declare const defaultFlowbiteAlertButtonConfig: FlowbiteAlertButtonConfig; declare const FlowbiteAlertButtonConfigToken: InjectionToken; /** * Provide the default AlertButton configuration * @param config The AlertButton configuration * @returns The provider */ declare const provideFlowbiteAlertButtonConfig: (config: Partial) => Provider[]; /** * Inject the AlertButton configuration * @see {@link defaultFlowbiteAlertButtonConfig} * @returns The configuration */ declare const injectFlowbiteAlertButtonConfig: () => FlowbiteAlertButtonConfig; declare class AlertContent { readonly config: flowbite_angular_alert.FlowbiteAlertContentConfig; readonly alertState: _angular_core.Signal; readonly border: _angular_core.InputSignalWithTransform; readonly accent: _angular_core.InputSignalWithTransform; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | undefined; } | undefined; border?: { off?: string | undefined; on?: string | undefined; } | undefined; accent?: { off?: string | undefined; on?: string | undefined; } | undefined; } | undefined; }>; readonly theme: _angular_core.Signal<{ host: { root: string; }; }>; readonly state: ng_primitives_state.CreatedState; }>>; /** * @see {@link injectFlowbiteAlertContentConfig} */ readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | 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 FlowbiteAlertContentStateToken: _angular_core.InjectionToken; declare const provideFlowbiteAlertContentState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider; declare const injectFlowbiteAlertContentState: >; readonly customTheme: _angular_core.InputSignal<{ host?: { base?: string | undefined; transition?: string | undefined; color?: { [x: string]: { light?: string | undefined; dark?: string | undefined; } | undefined; default?: { light?: string | undefined; dark?: string | undefined; } | undefined; info?: { light?: string | undefined; dark?: string | undefined; } | undefined; failure?: { light?: string | undefined; dark?: string | undefined; } | undefined; success?: { light?: string | undefined; dark?: string | undefined; } | undefined; warning?: { light?: string | undefined; dark?: string | undefined; } | undefined; primary?: { light?: string | undefined; dark?: string | undefined; } | 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 flowbiteAlertContentState: (state: U) => ng_primitives_state.CreatedState; interface FlowbiteAlertContentTheme { host: FlowbiteAlertContentHostTheme; } interface FlowbiteAlertContentHostTheme { base: string; transition: string; color: FlowbiteAlertColors; } declare const flowbiteAlertContentTheme: FlowbiteAlertContentTheme; interface FlowbiteAlertContentConfig { /** * The default theme of AlertContent */ baseTheme: FlowbiteAlertContentTheme; /** * The custom theme of AlertContent */ customTheme: DeepPartial; } declare const defaultFlowbiteAlertContentConfig: FlowbiteAlertContentConfig; declare const FlowbiteAlertContentConfigToken: InjectionToken; /** * Provide the default AlertContent configuration * @param config The AlertContent configuration * @returns The provider */ declare const provideFlowbiteAlertContentConfig: (config: Partial) => Provider[]; /** * Inject the AlertContent configuration * @see {@link defaultFlowbiteAlertContentConfig} * @returns The configuration */ declare const injectFlowbiteAlertContentConfig: () => FlowbiteAlertContentConfig; export { Alert, AlertButton, AlertContent, FlowbiteAlertButtonConfigToken, FlowbiteAlertButtonStateToken, FlowbiteAlertConfigToken, FlowbiteAlertContentConfigToken, FlowbiteAlertContentStateToken, FlowbiteAlertStateToken, defaultFlowbiteAlertButtonConfig, defaultFlowbiteAlertConfig, defaultFlowbiteAlertContentConfig, flowbiteAlertButtonState, flowbiteAlertButtonTheme, flowbiteAlertContentState, flowbiteAlertContentTheme, flowbiteAlertState, flowbiteAlertTheme, injectFlowbiteAlertButtonConfig, injectFlowbiteAlertButtonState, injectFlowbiteAlertConfig, injectFlowbiteAlertContentConfig, injectFlowbiteAlertContentState, injectFlowbiteAlertState, provideFlowbiteAlertButtonConfig, provideFlowbiteAlertButtonState, provideFlowbiteAlertConfig, provideFlowbiteAlertContentConfig, provideFlowbiteAlertContentState, provideFlowbiteAlertState }; export type { FlowbiteAlertButtonConfig, FlowbiteAlertButtonHostTheme, FlowbiteAlertButtonTheme, FlowbiteAlertColors, FlowbiteAlertConfig, FlowbiteAlertContentConfig, FlowbiteAlertContentHostTheme, FlowbiteAlertContentTheme, FlowbiteAlertHostTheme, FlowbiteAlertTheme };