import { EventEmitter } from '../../stencil-public-runtime';
import { FormComponent } from '../form/form.types';
import type { CustomPalette } from './color-picker.types';
/**
 * @private
 */
export declare class Palette implements FormComponent {
    /**
     * Color value that is manually typed by the user
     */
    value: string;
    /**
     * Label of the input field
     */
    label: string;
    /**
     * Helper text of the input field
     */
    helperText: string;
    /**
     * The placeholder text shown inside the input field,
     * when the field is focused and empty.
     */
    placeholder: string;
    /**
     * Set to `true` if a value is required
     */
    required: boolean;
    /**
     * Set to `true` to indicate that the current value of the input field is
     * invalid.
     */
    invalid: boolean;
    /**
     * Set to `false` to disallow custom color values to be typed into the input field.
     */
    manualInput: boolean;
    /**
     * Defines the number of columns in the color swatch grid.
     * If not provided, it will default to the number of colors in the palette.
     */
    columnCount?: number;
    /**
     * Custom color palette to use instead of Lime palette. Internal prop passed from parent.
     */
    palette?: CustomPalette;
    /**
     * Emits chosen value to the parent component
     */
    change: EventEmitter<string>;
    render(): any[];
    private renderSwatches;
    private getPalette;
    private renderSwatchButton;
    private handleChange;
    private handleSwatchClick;
    private normalizeEntry;
    private usesCustomPalette;
    private getColumnCount;
}
//# sourceMappingURL=color-picker-palette.d.ts.map