UNPKG

359 BTypeScriptView Raw
1import type { Ref, InjectionKey } from 'vue';
2export declare type SiderCollapsed = Ref<boolean>;
3export declare const SiderCollapsedKey: InjectionKey<SiderCollapsed>;
4export interface SiderHookProvider {
5 addSider?: (id: string) => void;
6 removeSider?: (id: string) => void;
7}
8export declare const SiderHookProviderKey: InjectionKey<SiderHookProvider>;