import { InjectionToken, type Provider, type Signal } from '@angular/core'; import { type MaskitoTimeParams } from '@maskito/kit'; /** * TODO(v6): move `mode`, `timeSegmentMinValues` and `timeSegmentMaxValues` * from `TUI_INPUT_TIME_OPTIONS` / `TUI_INPUT_DATE_TIME_OPTIONS` here */ export type TuiTimeFormatSettings = Pick, 'dayPeriod' | 'separators'>; /** * TODO(v6): refactor to * ```ts * import {maskitoWithTimeDefaults} from '@maskito/kit'; * import {LOCALE_ID} from '@angular/core'; * * export const TUI_TIME_FORMAT = new InjectionToken>( * ngDevMode ? 'TUI_TIME_FORMAT' : '', * { * factory: () => * signal( * maskitoWithTimeDefaults({ * locale: inject(LOCALE_ID), * mode: 'HH:MM', * }), * ), * }, * ); * ``` */ export declare const TUI_TIME_FORMAT: InjectionToken>; export declare function tuiTimeFormatProvider(options: Partial): Provider;