9 lines
331 B
TypeScript
9 lines
331 B
TypeScript
|
|
import { InjectionKey, ShallowRef, Slots } from "vue";
|
||
|
|
export interface LayoutSlotsRegistry {
|
||
|
|
slots: ShallowRef<Slots | null>;
|
||
|
|
ready: Promise<void>;
|
||
|
|
use: (slots: Slots) => void;
|
||
|
|
invalidate: () => void;
|
||
|
|
getOwner: (name: string) => number | undefined;
|
||
|
|
}
|
||
|
|
export declare const injectionKey: InjectionKey<LayoutSlotsRegistry>;
|