import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i1$1 from "@daffodil/design"; import { DaffDisableable, DaffDisableableDirective, DaffLoadableDirective, DaffPrefixDirective, DaffSizableDirective, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType, DaffSuffixDirective } from "@daffodil/design"; /** * The size types that the DaffButtonComponent can implement. */ export type DaffButtonSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType; export declare class DaffButtonSizableDirective extends DaffSizableDirective { /** * @docs-private */ defaultSize: DaffButtonSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DaffButtonBaseDirective implements DaffDisableable { private buttonSizable; private disabledDirective; private loadingDirective; /** * @docs-private */ _prefix: DaffPrefixDirective; /** * @docs-private */ _suffix: DaffSuffixDirective; constructor(buttonSizable: DaffButtonSizableDirective, disabledDirective: DaffDisableableDirective, loadingDirective: DaffLoadableDirective); /** * Sets the tabindex. */ tabindex: import("@angular/core").InputSignal; /** * The disabled state of the button. */ get disabled(): boolean; /** * @docs-private * * Internal function to access the loading property of the DaffLoadableDirective */ get loading(): boolean; /** * @docs-private * * Internal function to access the size property of the DaffButtonSizableDirective */ get buttonSize(): import("@daffodil/design/button").DaffButtonSize; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * DaffButtonComponent is a rectangular contained button with background color. * * @example Basic button * ```html * * * *
* Linked button *
*
* ``` */ export declare class DaffButtonComponent extends DaffButtonBaseDirective { /** * Whether or not the button displays a shadow. */ elevated: import("@angular/core").InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DaffFlatButtonComponent is a rectangular contained button no background. * * @example Flat button * ```html * * * *
* Linked flat button *
*
* ``` */ export declare class DaffFlatButtonComponent extends DaffButtonBaseDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DaffIconButtonComponent is an icon button used with icon fonts. * * @example Icon button * ```html * * * * * * ``` */ export declare class DaffIconButtonComponent extends DaffButtonBaseDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * DaffStrokedButtonComponent is a rectangular outlined button with no background color. * * @example Stroked button * ```html * * * *
* Linked stroked button *
*
* ``` */ export declare class DaffStrokedButtonComponent extends DaffButtonBaseDirective { /** * Whether or not the button displays a shadow. */ elevated: import("@angular/core").InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * @deprecated in favor of {@link DAFF_BUTTON_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0. */ export declare class DaffButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @docs-private */ export declare const DAFF_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffFlatButtonComponent, typeof DaffIconButtonComponent, typeof DaffStrokedButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ export declare const DAFF_BASIC_BUTTON_COMPONENTS: readonly [typeof DaffButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ export declare const DAFF_FLAT_BUTTON_COMPONENTS: readonly [typeof DaffFlatButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ export declare const DAFF_ICON_BUTTON_COMPONENTS: readonly [typeof DaffIconButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; /** * @docs-private */ export declare const DAFF_STROKED_BUTTON_COMPONENTS: readonly [typeof DaffStrokedButtonComponent, typeof DaffPrefixDirective, typeof DaffSuffixDirective]; export {};