import { EventEmitter } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; import * as i0 from "@angular/core"; /** * Label UI, currently used exclusively in sp-field. * @internal */ export declare class LabelComponent { /** * id prop set on the underlying label element. Useful to set aria-labelledby * on the corresponding control, if it doesn't support labeling via {@link #for} */ id: string; /** * html label "for" attribute, set on the underlying label element, in case the labeled control * has an id and is * [labelable](https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#labelable) */ for?: string; /** * Whether the label is disabled. Disabled label won't emit labelClick. */ disabled?: BooleanInput; /** * Indicates the necessity of the corresponding form control. */ necessityIndicator?: 'required' | 'optional'; /** * @default "lg" */ size?: 'lg' | 'md' | 'sm'; /** * Emits when the label text is clicked. */ labelClick: EventEmitter; /** * @returns the text content of the label. */ getText(): string; private labelElementRef?; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }