import { FieldsetHTMLAttributes, HTMLAttributes, MaybeRef, ComputedRef, Ref } from 'vue';
import { Booleanish } from 'node_modules/@zag-js/dom-query/dist/types.d.mts';
export interface UseFieldsetProps {
    /**
     * The id of the fieldset.
     */
    id?: string;
    /**
     * Indicates whether the fieldset is disabled.
     */
    disabled?: boolean | 'true' | 'false';
    /**
     * Indicates whether the fieldset is invalid.
     */
    invalid?: boolean;
}
export type UseFieldsetReturn = ReturnType<typeof useFieldset>;
export declare const useFieldset: (props?: MaybeRef<UseFieldsetProps>) => ComputedRef<{
    refs: {
        rootRef: Ref<null, null>;
    };
    ids: {
        legend: string;
        errorText: string;
        helperText: string;
    };
    disabled: boolean | "false" | "true" | undefined;
    invalid: boolean | undefined;
    getRootProps: () => FieldsetHTMLAttributes;
    getLegendProps: () => {
        'data-disabled': Booleanish;
        'data-invalid': Booleanish;
        "data-scope": string;
        "data-part": string;
        id: string;
    };
    getHelperTextProps: () => {
        "data-scope": string;
        "data-part": string;
        id: string;
    };
    getErrorTextProps: () => HTMLAttributes;
}>;
