import { CSSProperties, Ref, ShallowRef } from 'vue'; import { DefaultAdapter } from '@douyinfe/semi-foundation/lib/es/base/foundation'; import { VALIDATE_STATUS } from '@douyinfe/semi-foundation/lib/es/base/constants'; import { ArrayElement } from './base'; import type { ContextValue } from '../configProvider/context'; export type ValidateStatus = ArrayElement; export type BaseProps = { style?: CSSProperties; className?: string; }; export declare function getProps(props: Record): any; export declare const useBaseComponent: >(props: U, state: S) => { isControlled: (key: any) => boolean; cache: any; adapter:

() => DefaultAdapter; log: (text: string, ...rest: any) => any; context: Ref; foundation: ShallowRef; state: any; getDataAttr: () => Record; setStateAsync: (state: Partial) => Promise; }; export declare function useHasInProps(): { hasInProps: (key: string) => boolean | undefined; getProps:

(props: P) => P; };