15 lines
646 B
TypeScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
import { type Ref } from 'vue';
import type { PopoverInst } from '../../popover/src/interface';
import type { MergedTheme } from '../../_mixins';
import type { PopselectTheme } from '../styles';
import type { PopselectSetupProps } from './Popselect';
export type PopselectSize = 'small' | 'medium' | 'large' | 'huge';
export interface PopselectInjection {
props: PopselectSetupProps;
mergedThemeRef: Ref<MergedTheme<PopselectTheme>>;
setShow: (value: boolean) => void;
syncPosition: () => void;
}
export type PopselectInst = PopoverInst;
export declare const popselectInjectionKey: import("vue").InjectionKey<PopselectInjection>;