import { EmptyState, EmptyType, EmptyOption } from '../type'; import { Ref } from 'vue'; export type UseEmptyHooksOptions = { defaultType?: EmptyType } export type SetExample = { [K in `set${EmptyType}`]: { (option?: Omit):void } } export type UseEmptyHooksExample = { state: Ref isSUCCESS: boolean } & SetExample