import type { InjectionKey, ComputedRef } from 'vue';
import type { FieldGroupProps } from '../components/FieldGroup.vue';
import type { GetObjectField } from '../types/utils';
export declare const fieldGroupInjectionKey: InjectionKey<ComputedRef<{
    size: FieldGroupProps['size'];
    orientation: FieldGroupProps['orientation'];
    noSplit: FieldGroupProps['noSplit'];
}>>;
type Props<T> = {
    size?: GetObjectField<T, 'size'>;
};
export declare function useFieldGroup<T>(props: Props<T>): {
    orientation: ComputedRef<"horizontal" | "vertical" | undefined>;
    size: ComputedRef<"md" | "xs" | "sm" | "lg" | "xl" | "xss" | NonNullable<GetObjectField<T, "size">> | undefined>;
    noSplit: ComputedRef<boolean>;
};
export {};
