UNPKG

1.27 kBTypeScriptView Raw
1import { type InjectionKey, type ExtractPropTypes } from 'vue';
2export type SidebarProvide = {
3 getActive: () => number;
4 setActive: (value: number) => void;
5};
6export declare const SIDEBAR_KEY: InjectionKey<SidebarProvide>;
7export declare const sidebarProps: {
8 modelValue: {
9 type: (NumberConstructor | StringConstructor)[];
10 default: number;
11 };
12};
13export type SidebarProps = ExtractPropTypes<typeof sidebarProps>;
14declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
15 modelValue: {
16 type: (NumberConstructor | StringConstructor)[];
17 default: number;
18 };
19}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
20 modelValue: {
21 type: (NumberConstructor | StringConstructor)[];
22 default: number;
23 };
24}>> & Readonly<{
25 onChange?: ((...args: any[]) => any) | undefined;
26 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27}>, {
28 modelValue: string | number;
29}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30export default _default;
31
\No newline at end of file