export type NotificationSchema = Record; export type Notification = { id: number; group: string; } & T; export type Context = { group?: string; position?: 'top' | 'bottom'; }; export type ExtractComponentProps = TComponent extends new () => { $props: infer P; } ? P : never;