import { EventEmitter } from '../../stencil-public-runtime'; /** * @class PostCardControl - representing a stencil component * * @slot default - Content to place into the `default` slot.

Markup accepted: block content.

Even if it is generally possible, we do not recommend using interactive elements in this slot because the background of the card control is clickable.
This can lead to confusion when the hit box of nested interactive controls is not clearly separated from the background, is invalid HTML and click events bubbling up to the card control will unexpectedly toggle it if they're not captured.
More info: https://accessibilityinsights.io/info-examples/web/nested-interactive/

* @slot icon - To insert a custom icon into the named `icon` slot.

Markup accepted: inline content.

It is only meant for img or svg elements and overrides the `icon` property.

*/ export declare class PostCardControl { private readonly EVENT_MAP; private readonly KEYCODES; private group; private control; private controlId; private initialChecked; private hasIcon; host: HTMLPostCardControlElement; focused: boolean; private internals; /** * Defines the text in the control-label. */ readonly label: string; /** * Defines the description in the control-label. */ readonly description: string; /** * Defines the `type` attribute of the control. */ readonly type: 'checkbox' | 'radio'; /** * Defines the `name` attribute of the control. * This is a required property, when the control should participate in a native `form`. If not specified, a native `form` will never contain this controls value. * This is a required property, when the control is used with type `radio`. */ readonly name: string; /** * Defines the `value` attribute of the control. This is a required property, when the control is used with type `radio`. */ readonly value: string; /** * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data. */ checked: boolean; /** * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data. */ disabled: boolean; /** * Defines the validation `validity` of the control. * To reset validity to an undefined state, simply remove the attribute from the control. */ validity: null | 'true' | 'false'; /** * Defines the icon `name` inside the card. * If not set the icon will not show up. */ readonly icon: string; /** * An event emitted whenever the components checked state is toggled. * The event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked. */ postInput: EventEmitter<{ state: boolean; value: string; }>; /** * An event emitted whenever the components checked state is toggled. * The event payload (emitted under `event.detail.state`) is a boolean: `true` if the component is checked, `false` if it is unchecked. * If the component is used with type `radio`, it will only emit this event, when the checked state is changing to `true`. */ postChange: EventEmitter<{ state: boolean; value: string; }>; /** * A public method to reset the controls `checked` and `validity` state. * The validity state is set to `null`, so it's neither valid nor invalid. */ reset(): Promise; /** * A hidden public method to reset the group controls `checked` state to `false`. */ groupReset(): Promise; validateControlLabel(label?: string): void; validateControlType(type?: "checkbox" | "radio"): void; updateControlChecked(checked?: boolean): void; updateControlDisabled(): void; constructor(); private cardClickHandler; private controlClickHandler; private controlChangeHandler; private controlFocusHandler; private controlKeyDownHandler; private controlSetChecked; private groupCollectMembers; private groupGetPrev; private groupGetNext; private groupSetChecked; private setHostContext; connectedCallback(): void; componentWillRender(): void; render(): any; componentDidRender(): void; componentDidLoad(): void; formAssociatedCallback(): void; formDisabledCallback(disabled: boolean): void; formStateRestoreCallback(checked: any): void; formResetCallback(): void; }