import * as _angular_core from '@angular/core'; import { Signal, InputSignal, InjectionToken, Type, ExistingProvider, Provider, OnDestroy, WritableSignal } from '@angular/core'; import * as _spartan_ng_brain_date_time from '@spartan-ng/brain/date-time'; import { BooleanInput, NumberInput } from '@angular/cdk/coercion'; import * as _spartan_ng_brain_calendar from '@spartan-ng/brain/calendar'; declare class BrnCalendarCellButton { /** Access the date adapter */ protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; private readonly _destroyRef; /** Access the calendar component */ protected readonly _calendar: _spartan_ng_brain_calendar.BrnCalendarBase; /** Access the element ref */ private readonly _elementRef; /** The date this cell represents */ readonly date: _angular_core.InputSignal; /** Whether this date is currently selected */ readonly selected: _angular_core.Signal; readonly start: _angular_core.Signal; readonly end: _angular_core.Signal; readonly betweenRange: _angular_core.Signal; readonly highlighted: _angular_core.Signal; constructor(); /** Whether this date is focusable */ readonly focusable: _angular_core.Signal; readonly outside: _angular_core.Signal; /** Whether this date is today */ readonly today: _angular_core.Signal; /** Whether this date is disabled */ readonly disabled: _angular_core.Signal; /** * Focus the previous cell. */ protected focusPrevious(event: Event): void; /** * Focus the next cell. */ protected focusNext(event: Event): void; /** * Focus the above cell. */ protected focusAbove(event: Event): void; /** * Focus the below cell. */ protected focusBelow(event: Event): void; /** * Focus the first date of the month. */ protected focusFirst(event: Event): void; /** * Focus the last date of the month. */ protected focusLast(event: Event): void; /** * Focus the same date in the previous month. */ protected focusPreviousMonth(event: Event): void; /** * Focus the same date in the next month. */ protected focusNextMonth(event: Event): void; private focusEnabledDate; /** * Get the direction of the element. */ private getDirection; focus(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "button[brnCalendarCellButton]", ["brnCalendarCellButton"], { "date": { "alias": "date"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>; } declare class BrnCalendarHeader { /** The unique id for the header */ readonly id: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } interface BrnCalendarBase { isSelected: (date: T) => boolean; selectDate: (date: T) => void; constrainDate: (date: T) => T; isDateDisabled: (date: T) => boolean; setFocusedDate: (date: T) => void; isStartOfRange: (date: T) => boolean; isEndOfRange: (date: T) => boolean; isBetweenRange: (date: T) => boolean; min: Signal; max: Signal; disabled: Signal; focusedDate: Signal; header: Signal; days: Signal; highlightDays: InputSignal; unregisterCalendarCell(cell: BrnCalendarCellButton): void; registerCalendarCell(cell: BrnCalendarCellButton): void; } declare const BrnCalendarToken: InjectionToken>; declare function provideBrnCalendar(instance: Type>): ExistingProvider; /** * Inject the calendar component. */ declare function injectBrnCalendar(): BrnCalendarBase; type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6; type MonthLabels = [ string, string, string, string, string, string, string, string, string, string, string, string ]; interface BrnCalendarI18n { formatWeekdayName: (index: number) => string; formatHeader: (month: number, year: number) => string; formatYear: (year: number) => string; formatMonth: (month: number) => string; labelPrevious: () => string; labelNext: () => string; /** The label of the month/year calendar button that goes to the previous year (month view). */ labelPreviousYear?: () => string; /** The label of the month/year calendar button that goes to the next year (month view). */ labelNextYear?: () => string; /** The label of the month/year calendar button that goes to the previous page of years (year view). */ labelPreviousYears?: () => string; /** The label of the month/year calendar button that goes to the next page of years (year view). */ labelNextYears?: () => string; labelWeekday: (index: number) => string; months: () => [string, string, string, string, string, string, string, string, string, string, string, string]; years: (startYear?: number, endYear?: number) => number[]; firstDayOfWeek: () => Weekday; } declare const BrnCalendarI18nToken: InjectionToken; /** * Provide the calendar i18n configuration. */ declare function provideBrnCalendarI18n(configuration?: Partial): Provider; /** * Inject the calendar i18n configuration. */ declare function injectBrnCalendarI18n(): BrnCalendarI18nService; declare class BrnCalendarI18nService { private readonly _config; readonly config: _angular_core.Signal; use(config: Partial): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare class BrnCalendar implements BrnCalendarBase { private readonly _i18n; /** Access the date adapter */ protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; /** Access the change detector */ private readonly _changeDetector; /** Access the injector */ private readonly _injector; /** The days to highlight. */ readonly highlightDays: _angular_core.InputSignal; /** The minimum date that can be selected.*/ readonly min: _angular_core.InputSignal; /** The maximum date that can be selected. */ readonly max: _angular_core.InputSignal; /** Determine if the date picker is disabled. */ readonly disabled: _angular_core.InputSignalWithTransform; /** The selected value. */ readonly date: _angular_core.ModelSignal; /** Whether a specific date is disabled. */ readonly dateDisabled: _angular_core.InputSignal<(date: T) => boolean>; /** The day the week starts on */ readonly weekStartsOn: _angular_core.InputSignalWithTransform; protected readonly _weekStartsOn: _angular_core.Signal; /** The default focused date. */ readonly defaultFocusedDate: _angular_core.InputSignal; /** @internal Access the header */ readonly header: _angular_core.Signal; private readonly _cells; /** * The focused date. */ readonly focusedDate: _angular_core.WritableSignal; /** Emits whenever the focused date changes. */ readonly focusedDateChange: _angular_core.OutputEmitterRef; private _setFocusedDate; /** * Get all the days to display, this is the days of the current month * and the days of the previous and next month to fill the grid. */ readonly days: _angular_core.Signal; /** @internal Constrain a date to the min and max boundaries */ constrainDate(date: T): T; /** @internal Determine if a date is disabled */ isDateDisabled(date: T): boolean; isSelected(date: T): boolean; selectDate(date: T): void; /** @internal Set the focused date */ setFocusedDate(date: T): void; /** * Determine if a date is the start of a range. In a date picker, this is always false. * @param date The date to check. * @returns Always false. * @internal */ isStartOfRange(_: T): boolean; /** * Determine if a date is the end of a range. In a date picker, this is always false. * @param date The date to check. * @returns Always false. * @internal */ isEndOfRange(_: T): boolean; /** * Determine if a date is between the start and end dates. In a date picker, this is always false. * @param date The date to check. * @returns True if the date is between the start and end dates, false otherwise. * @internal */ isBetweenRange(_: T): boolean; unregisterCalendarCell(cell: BrnCalendarCellButton): void; registerCalendarCell(cell: BrnCalendarCellButton): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnCalendar]", ["brnCalendar"], { "highlightDays": { "alias": "highlightDays"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "dateDisabled": { "alias": "dateDisabled"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; "focusedDateChange": "focusedDateChange"; }, ["header"], never, true, never>; } declare class BrnCalendarCell { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnCalendarGrid { /** Access the calendar component */ protected readonly _calendar: _spartan_ng_brain_calendar.BrnCalendarBase; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnCalendarGrid]", ["brnCalendarGrid"], {}, {}, never, never, true, never>; } declare class BrnCalendarMonthSelect { /** Access the select */ private readonly _select; /** Access the calendar */ private readonly _calendar; /** Access the date adapter */ private readonly _dateAdapter; /** Access the calendar i18n */ protected readonly _i18n: _spartan_ng_brain_calendar.BrnCalendarI18nService; protected readonly _selectedMonth: _angular_core.Signal; constructor(); /** Focus selected month */ private monthSelected; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnCalendarNextButton { /** Access the calendar */ private readonly _calendar; /** Access the date adapter */ private readonly _dateAdapter; /** Access the calendar i18n */ protected readonly _i18n: _spartan_ng_brain_calendar.BrnCalendarI18nService; /** * An enabled day in the next month, closest to the focused day number. * Undefined when the whole month is outside min/max or rejected by `dateDisabled`. */ private readonly _enabledTarget; /** Whether navigating to the next month is disabled. */ protected readonly _disabled: _angular_core.Signal; /** Focus the next month */ protected focusNextMonth(): void; /** The same day number in the next month, clamped to that month's length. */ private nextMonthDate; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnCalendarPreviousButton { /** Access the calendar */ private readonly _calendar; /** Access the date adapter */ private readonly _dateAdapter; /** Access the calendar i18n */ protected readonly _i18n: _spartan_ng_brain_calendar.BrnCalendarI18nService; /** * An enabled day in the previous month, closest to the focused day number. * Undefined when the whole month is outside min/max or rejected by `dateDisabled`. */ private readonly _enabledTarget; /** Whether navigating to the previous month is disabled. */ protected readonly _disabled: _angular_core.Signal; /** Focus the previous month */ protected focusPreviousMonth(): void; /** The same day number in the previous month, clamped to that month's length. */ private previousMonthDate; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnCalendarWeek implements OnDestroy { /** Access the calendar */ private readonly _calendar; /** Access the view container ref */ private readonly _viewContainerRef; /** Access the change detector */ private readonly _changeDetector; /** Access the template ref */ private readonly _templateRef; protected readonly _weeks: _angular_core.Signal; /** Store the view refs */ private _viewRefs; static ngTemplateContextGuard(_: BrnCalendarWeek, ctx: unknown): ctx is BrnWeekContext; constructor(); private _renderWeeks; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnCalendarWeek]", ["brnCalendarWeek"], {}, {}, never, never, true, never>; } interface BrnWeekContext { $implicit: T[]; } declare class BrnCalendarWeekday implements OnDestroy { /** Access the calendar */ private readonly _calendar; /** Access the date time adapter */ private readonly _dateAdapter; /** Access the view container ref */ private readonly _viewContainerRef; /** Access the change detector */ private readonly _changeDetector; /** Access the template ref */ private readonly _templateRef; /** Get the days of the week to display in the header. */ protected readonly _weekdays: _angular_core.Signal; /** Store the view refs */ private _viewRefs; static ngTemplateContextGuard(_: BrnCalendarWeekday, ctx: unknown): ctx is BrnWeekdayContext; constructor(); private _renderWeekdays; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnCalendarWeekday]", ["brnCalendarWeekday"], {}, {}, never, never, true, never>; } interface BrnWeekdayContext { $implicit: number; } declare class BrnCalendarYearSelect { /** Access the select */ private readonly _select; /** Access the calendar */ private readonly _calendar; /** Access the date adapter */ private readonly _dateAdapter; /** Access the calendar i18n */ protected readonly _i18n: _spartan_ng_brain_calendar.BrnCalendarI18nService; constructor(); /** Focus selected year */ private yearSelected; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnCalendarMulti implements BrnCalendarBase { private readonly _i18n; private readonly _cells; /** * Determine if a date is the start of a range. In a date picker, this is always false. * @param date The date to check. * @returns Always false. * @internal */ isStartOfRange(_: T): boolean; /** * Determine if a date is the end of a range. In a date picker, this is always false. * @param date The date to check. * @returns Always false. * @internal */ isEndOfRange(_: T): boolean; /** * Determine if a date is between the start and end dates. In a date picker, this is always false. * @param date The date to check. * @returns True if the date is between the start and end dates, false otherwise. * @internal */ isBetweenRange(_: T): boolean; protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; /** Access the change detector */ private readonly _changeDetector; /** Access the injector */ private readonly _injector; /** The days to highlight. */ readonly highlightDays: _angular_core.InputSignal; /** The minimum date that can be selected.*/ readonly min: _angular_core.InputSignal; /** The maximum date that can be selected. */ readonly max: _angular_core.InputSignal; /** The minimum selectable dates. */ readonly minSelection: _angular_core.InputSignalWithTransform; /** The maximum selectable dates. */ readonly maxSelection: _angular_core.InputSignalWithTransform; /** Determine if the date picker is disabled. */ readonly disabled: _angular_core.InputSignalWithTransform; /** The selected value. */ readonly date: _angular_core.ModelSignal; /** Whether a specific date is disabled. */ readonly dateDisabled: _angular_core.InputSignal<(date: T) => boolean>; /** The day the week starts on */ readonly weekStartsOn: _angular_core.InputSignalWithTransform; protected readonly _weekStartsOn: _angular_core.Signal; /** The default focused date. */ readonly defaultFocusedDate: _angular_core.InputSignal; /** @internal Access the header */ readonly header: _angular_core.Signal; /** * The focused date. */ readonly focusedDate: _angular_core.WritableSignal; /** Emits whenever the focused date changes. */ readonly focusedDateChange: _angular_core.OutputEmitterRef; private _setFocusedDate; /** * Get all the days to display, this is the days of the current month * and the days of the previous and next month to fill the grid. */ readonly days: _angular_core.Signal; isSelected(date: T): boolean; selectDate(date: T): void; /** @internal Constrain a date to the min and max boundaries */ constrainDate(date: T): T; /** @internal Determine if a date is disabled */ isDateDisabled(date: T): boolean; /** @internal Set the focused date */ setFocusedDate(date: T): void; unregisterCalendarCell(cell: BrnCalendarCellButton): void; registerCalendarCell(cell: BrnCalendarCellButton): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnCalendarMulti]", ["brnCalendarMulti"], { "highlightDays": { "alias": "highlightDays"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minSelection": { "alias": "minSelection"; "required": false; "isSignal": true; }; "maxSelection": { "alias": "maxSelection"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "dateDisabled": { "alias": "dateDisabled"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; "focusedDateChange": "focusedDateChange"; }, ["header"], never, true, never>; } declare class BrnCalendarRange implements BrnCalendarBase { private readonly _cells; private readonly _i18n; protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; /** Access the change detector */ private readonly _changeDetector; /** Access the injector */ private readonly _injector; /** The days to highlight. */ readonly highlightDays: _angular_core.InputSignal; /** The minimum date that can be selected.*/ readonly min: _angular_core.InputSignal; /** The maximum date that can be selected. */ readonly max: _angular_core.InputSignal; /** Determine if the date picker is disabled. */ readonly disabled: _angular_core.InputSignalWithTransform; /** Whether a specific date is disabled. */ readonly dateDisabled: _angular_core.InputSignal<(date: T) => boolean>; /** The day the week starts on */ readonly weekStartsOn: _angular_core.InputSignalWithTransform; protected readonly _weekStartsOn: _angular_core.Signal; /** The default focused date. */ readonly defaultFocusedDate: _angular_core.InputSignal; /** @internal Access the header */ readonly header: _angular_core.Signal; /** * The focused date. */ readonly focusedDate: _angular_core.WritableSignal; /** Emits whenever the focused date changes. */ readonly focusedDateChange: _angular_core.OutputEmitterRef; private _setFocusedDate; /** * The selected start date */ readonly startDate: _angular_core.ModelSignal; /** * The selected end date */ readonly endDate: _angular_core.ModelSignal; /** * Get all the days to display, this is the days of the current month * and the days of the previous and next month to fill the grid. */ readonly days: _angular_core.Signal; isSelected(date: T): boolean; selectDate(date: T): void; /** @internal Constrain a date to the min and max boundaries */ constrainDate(date: T): T; /** @internal Determine if a date is disabled */ isDateDisabled(date: T): boolean; /** @internal Set the focused date */ setFocusedDate(date: T): void; /** * Determine if a date is the start of a range. * @param date The date to check. * @returns Always false. * @internal */ isStartOfRange(date: T): boolean; /** * Determine if a date is the end of a range. * @param date The date to check. * @returns Always false. * @internal */ isEndOfRange(date: T): boolean; /** * Determine if a date is between the start and end dates. * @param date The date to check. * @returns True if the date is between the start and end dates, false otherwise. * @internal */ isBetweenRange(date: T): boolean; unregisterCalendarCell(cell: BrnCalendarCellButton): void; registerCalendarCell(cell: BrnCalendarCellButton): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnCalendarRange]", ["brnCalendarRange"], { "highlightDays": { "alias": "highlightDays"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dateDisabled": { "alias": "dateDisabled"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; "startDate": { "alias": "startDate"; "required": false; "isSignal": true; }; "endDate": { "alias": "endDate"; "required": false; "isSignal": true; }; }, { "focusedDateChange": "focusedDateChange"; "startDate": "startDateChange"; "endDate": "endDateChange"; }, ["header"], never, true, never>; } /** The available views of the month/year selector. */ type BrnMonthYearCalendarView = 'year' | 'month'; /** A focusable cell (month or year button) registered with the month/year selector. */ interface BrnMonthYearCalendarCell { /** The date represented by the cell. */ value: Signal; /** Focus the cell. */ focus(): void; } interface BrnMonthYearCalendarBase { /** The current view of the month/year selector. */ view: WritableSignal; /** The currently focused date. */ focusedDate: Signal; /** Whether the month/year selector is disabled. */ disabled: Signal; /** The header directive, used to label the grid. */ header: Signal; /** The 12 months of the focused year. */ months: Signal; /** The years of the current page. */ years: Signal; /** The first and last year of the current page. */ yearRange: Signal<{ start: number; end: number; }>; /** Select a month, updating the value. */ selectMonth: (date: T) => void; /** Select a year, moving to the month view. */ selectYear: (date: T) => void; /** Whether the given month is selected. */ isMonthSelected: (date: T) => boolean; /** Whether the given year is selected. */ isYearSelected: (date: T) => boolean; /** Whether the given month is today's month. */ isMonthToday: (date: T) => boolean; /** Whether the given year is the current year. */ isYearToday: (date: T) => boolean; /** Whether the given month is disabled. */ isMonthDisabled: (date: T) => boolean; /** Whether the given year is disabled. */ isYearDisabled: (date: T) => boolean; /** Move focus to the given month, adjusting the year if needed. */ setFocusedMonth: (date: T) => void; /** Move focus to the given year, paging if needed. */ setFocusedYear: (date: T) => void; /** Navigate to the previous year or page of years. */ goToPrevious: () => void; /** Navigate to the next year or page of years. */ goToNext: () => void; /** Whether navigating to the previous page/year is disabled. */ isPreviousDisabled: () => boolean; /** Whether navigating to the next page/year is disabled. */ isNextDisabled: () => boolean; registerCell(cell: BrnMonthYearCalendarCell): void; unregisterCell(cell: BrnMonthYearCalendarCell): void; } declare class BrnMonthYearCalendarHeader { /** The unique id for the header */ readonly id: _angular_core.InputSignal; protected readonly _monthYear: BrnMonthYearCalendarBase; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnMonthYearCalendar implements BrnMonthYearCalendarBase { /** Access the date adapter */ protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; /** Access the change detector */ private readonly _changeDetector; /** Access the injector */ private readonly _injector; /** The minimum date that can be selected. */ readonly min: _angular_core.InputSignal; /** The maximum date that can be selected. */ readonly max: _angular_core.InputSignal; /** Whether the month/year selector is disabled. */ readonly disabled: _angular_core.InputSignalWithTransform; /** The selected month. Represented by the first day of the month. */ readonly date: _angular_core.ModelSignal; /** The default focused date. */ readonly defaultFocusedDate: _angular_core.InputSignal; /** The current view. The year view is shown first. */ readonly viewInput: _angular_core.InputSignal; /** The current view mutable. The year view is shown first. */ readonly view: _angular_core.WritableSignal; /** @internal Access the header */ readonly header: _angular_core.Signal; /** The focused date. */ readonly focusedDate: _angular_core.WritableSignal; /** Emits whenever the focused date changes. */ readonly focusedDateChange: _angular_core.OutputEmitterRef; private _setFocusedDate; private readonly _cells; /** The 12 months of the currently focused year. */ readonly months: _angular_core.Signal; /** The first and last year of the current page. */ readonly yearRange: _angular_core.Signal<{ start: number; end: number; }>; /** The years of the current page. */ readonly years: _angular_core.Signal; /** @internal Constrain a date to the min and max boundaries. */ constrainDate(date: T): T; selectMonth(date: T): void; selectYear(date: T): void; isMonthSelected(date: T): boolean; isYearSelected(date: T): boolean; isMonthToday(date: T): boolean; isYearToday(date: T): boolean; isMonthDisabled(date: T): boolean; isYearDisabled(date: T): boolean; setFocusedMonth(date: T): void; setFocusedYear(date: T): void; goToPrevious(): void; goToNext(): void; isPreviousDisabled(): boolean; isNextDisabled(): boolean; private _focusCell; registerCell(cell: BrnMonthYearCalendarCell): void; unregisterCell(cell: BrnMonthYearCalendarCell): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnMonthYearCalendar]", ["brnMonthYearCalendar"], { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; "viewInput": { "alias": "view"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; "focusedDateChange": "focusedDateChange"; }, ["header"], never, true, never>; } declare class BrnMonthYearCalendarGrid { /** Access the month/year selector */ protected readonly _monthYear: BrnMonthYearCalendarBase; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "[brnMonthYearCalendarGrid]", ["brnMonthYearCalendarGrid"], {}, {}, never, never, true, never>; } declare class BrnMonthYearCalendarMonthButton { /** Access the date adapter */ protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; /** Access the month/year selector */ protected readonly _monthYear: BrnMonthYearCalendarBase; /** Access the element ref */ private readonly _elementRef; private readonly _destroyRef; /** The month this cell represents. */ readonly date: _angular_core.InputSignal; /** Expose the value for the month/year selector's focus tracking. */ readonly value: _angular_core.InputSignal; readonly selected: _angular_core.Signal; readonly today: _angular_core.Signal; readonly disabled: _angular_core.Signal; readonly focusable: _angular_core.Signal; constructor(); protected focusOffset(event: Event, offset: number): void; protected focusMonth(event: Event, month: number): void; protected focusYearOffset(event: Event, offset: number): void; protected getDirection(): 'ltr' | 'rtl'; focus(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "button[brnMonthYearCalendarMonthButton]", ["brnMonthYearCalendarMonthButton"], { "date": { "alias": "date"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>; } declare class BrnMonthYearCalendarNextButton { /** Access the month/year selector */ protected readonly _monthYear: BrnMonthYearCalendarBase; /** Access the calendar i18n */ private readonly _i18n; protected readonly _disabled: _angular_core.Signal; protected readonly _label: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnMonthYearCalendarPreviousButton { /** Access the month/year selector */ protected readonly _monthYear: BrnMonthYearCalendarBase; /** Access the calendar i18n */ private readonly _i18n; protected readonly _disabled: _angular_core.Signal; protected readonly _label: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class BrnMonthYearCalendarYearButton { /** Access the date adapter */ protected readonly _dateAdapter: _spartan_ng_brain_date_time.BrnDateAdapter; /** Access the month/year selector */ protected readonly _monthYear: BrnMonthYearCalendarBase; /** Access the element ref */ private readonly _elementRef; private readonly _destroyRef; /** The year this cell represents. */ readonly date: _angular_core.InputSignal; /** Expose the value for the month/year selector's focus tracking. */ readonly value: _angular_core.InputSignal; readonly selected: _angular_core.Signal; readonly today: _angular_core.Signal; readonly disabled: _angular_core.Signal; readonly focusable: _angular_core.Signal; protected readonly _yearsPerPage = 12; constructor(); protected focusOffset(event: Event, offset: number): void; protected focusYear(event: Event, year: number): void; protected getDirection(): 'ltr' | 'rtl'; focus(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration, never>; static ɵdir: _angular_core.ɵɵDirectiveDeclaration, "button[brnMonthYearCalendarYearButton]", ["brnMonthYearCalendarYearButton"], { "date": { "alias": "date"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>; } declare const BrnCalendarImports: readonly [typeof BrnCalendarCellButton, typeof BrnCalendarGrid, typeof BrnCalendarHeader, typeof BrnCalendarNextButton, typeof BrnCalendarPreviousButton, typeof BrnCalendarWeek, typeof BrnCalendarWeekday, typeof BrnCalendar, typeof BrnCalendarCell, typeof BrnCalendarMulti, typeof BrnCalendarRange, typeof BrnCalendarMonthSelect, typeof BrnCalendarYearSelect, typeof BrnMonthYearCalendar, typeof BrnMonthYearCalendarGrid, typeof BrnMonthYearCalendarHeader, typeof BrnMonthYearCalendarMonthButton, typeof BrnMonthYearCalendarNextButton, typeof BrnMonthYearCalendarPreviousButton, typeof BrnMonthYearCalendarYearButton]; export { BrnCalendar, BrnCalendarCell, BrnCalendarCellButton, BrnCalendarGrid, BrnCalendarHeader, BrnCalendarI18nService, BrnCalendarI18nToken, BrnCalendarImports, BrnCalendarMonthSelect, BrnCalendarMulti, BrnCalendarNextButton, BrnCalendarPreviousButton, BrnCalendarRange, BrnCalendarToken, BrnCalendarWeek, BrnCalendarWeekday, BrnCalendarYearSelect, BrnMonthYearCalendar, BrnMonthYearCalendarGrid, BrnMonthYearCalendarHeader, BrnMonthYearCalendarMonthButton, BrnMonthYearCalendarNextButton, BrnMonthYearCalendarPreviousButton, BrnMonthYearCalendarYearButton, injectBrnCalendar, injectBrnCalendarI18n, provideBrnCalendar, provideBrnCalendarI18n }; export type { BrnCalendarBase, BrnCalendarI18n, MonthLabels, Weekday };