import type { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType as __PropType } from 'vue'; import { type Component } from 'vue'; /** * Props interface for GCheckbox component * @version 0.1.1 */ export interface GCheckboxProps { /** Label text or function that returns label based on props */ label?: string | ((props: GCheckboxProps) => string) | null; /** Position of label relative to checkbox */ labelPosition?: string; /** Hide label visually */ hideLabel?: boolean; /** HTML id attribute for checkbox */ id?: string | null; /** Checked state (for v-model:checked) */ checked?: boolean | (string | number | boolean)[]; /** Model value (for v-model) */ modelValue?: boolean | (string | number | boolean)[]; /** Value when used in checkbox group (any primitive value) */ value?: string | number | boolean; /** Disable checkbox */ disabled?: boolean; /** Readonly state (disabled without visual indication) */ readonly?: boolean; /** Error state */ error?: boolean; /** Custom checkmark icon (string for icon name or component) */ checkedIcon?: string | Component; /** Indeterminate state */ indeterminate?: boolean; } export type GCheckboxExposed = HTMLInputElement; declare const _sfc_main: DefineComponent string) | null | undefined>; required: false; default: null; }; labelPosition: { type: __PropType; required: false; default: string; }; hideLabel: { type: __PropType; required: false; default: boolean; }; id: { type: __PropType; required: false; default: null; }; checked: { type: __PropType; required: false; default: boolean; }; modelValue: { type: __PropType; required: false; default: boolean; }; value: { type: __PropType; required: false; default: () => string; }; disabled: { type: __PropType; required: false; default: boolean; }; readonly: { type: __PropType; required: false; default: boolean; }; error: { type: __PropType; required: false; default: boolean; }; checkedIcon: { type: __PropType; required: false; default: () => string; }; indeterminate: { type: __PropType; required: false; default: boolean; }; }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "refMounted" | "update:el" | "update:checked" | "update:modelValue" | "updated")[], "change" | "refMounted" | "update:el" | "update:checked" | "update:modelValue" | "updated", PublicProps, Readonly string) | null | undefined>; required: false; default: null; }; labelPosition: { type: __PropType; required: false; default: string; }; hideLabel: { type: __PropType; required: false; default: boolean; }; id: { type: __PropType; required: false; default: null; }; checked: { type: __PropType; required: false; default: boolean; }; modelValue: { type: __PropType; required: false; default: boolean; }; value: { type: __PropType; required: false; default: () => string; }; disabled: { type: __PropType; required: false; default: boolean; }; readonly: { type: __PropType; required: false; default: boolean; }; error: { type: __PropType; required: false; default: boolean; }; checkedIcon: { type: __PropType; required: false; default: () => string; }; indeterminate: { type: __PropType; required: false; default: boolean; }; }>> & Readonly<{ onRefMounted?: ((...args: any[]) => any) | undefined; "onUpdate:el"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onUpdate:checked"?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onUpdated?: ((...args: any[]) => any) | undefined; }>, { error: boolean | undefined; id: string | null | undefined; label: string | ((props: GCheckboxProps) => string) | null | undefined; disabled: boolean | undefined; labelPosition: string | undefined; hideLabel: boolean | undefined; checked: boolean | (string | number | boolean)[] | undefined; modelValue: boolean | (string | number | boolean)[] | undefined; value: string | number | boolean | undefined; readonly: boolean | undefined; checkedIcon: string | Component | undefined; indeterminate: boolean | undefined; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; export default _sfc_main;