import { EventEmitter } from '@angular/core'; import { Label } from '../label/label'; import { GovUKDataCapture } from '../data-capture.component'; import { ErrorMessage } from '../error/error-message.model'; import { Hint } from '../hint/hint'; import { SelectItems } from './select-item'; import * as i0 from "@angular/core"; /** * Select component based on the nunjucks template version * https://design-system.service.gov.uk/components/select/ * * ```javascript * * * * selectItems = [ * {value: "published", text: "Recently published" }, * {value: "updated", text: "Recently updated" }, * {value: "views", text: "Most views" }, * {value: "comments", text: "Most comments" } * ]; * * ``` */ export declare class GovUKSelectComponent implements GovUKDataCapture { id: string; name: string; /** Required. Array of {value: string; text: string; disabled: boolean} * * ```javascript * selectItems = [ * {value: "published", text: "Recently published" }, * {value: "updated", text: "Recently updated" }, * {value: "views", text: "Most views" }, * {value: "comments", text: "Most comments" } * ]; * ``` */ items: SelectItems[]; describeBy?: string; label: Label; hint: Hint; errorMessage: ErrorMessage; classes: string; /** Selected value from the items.value */ model: string; /** Selected value from the items.value */ modelChange: EventEmitter; onChange: (value: string) => void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }