import { ComponentInterface } from '../../stencil-public-runtime'; import { Color } from '../../interface'; export declare class Label implements ComponentInterface { /** * The color to use from the Liberty color palette. * Default options are: `'primary', 'primary_darkest', 'primary_darker', 'primary_dark', 'primary_light', 'primary_lighter', 'primary_lightest', 'neutral', 'neutral_darker', 'neutral_darkest', 'neutral_light', 'neutral_lighter', 'neutral_lightest', 'ruby', 'official', 'warning', 'error', 'success', 'success_light', 'mustard'`. */ color?: Color; /** * Label text */ labelText: string; /** * Specifies if input is required or not in the right corner */ required: boolean; /** * Specifies that the input is optional in the right top corner */ optional: boolean; /** * used as the for property on the label... connecting the label with the input */ forId: string; watchHandler(newValue: string): void; /** * ID of component. Dynamically set. */ useId: string; /** * Tells us that the input is invalid */ invalid: boolean; /** * Specifies error message if the property in invalid */ errorMessage: string | null; /** * Specifies the helper text to display in the upper right corner (over-rides the required and optional text) */ helperText: string | null; /** * Provides option to use asterisk as required indicator */ useAsteriskAsRequiredIndicator: boolean; clueText(): string | null; showErrorMessage(): boolean; errorMessageText(): string; helperTextClasses(): string; containerClasses(): string; hostData(): { class: { [x: string]: boolean; }; }; render(): any; }