type ShortcutContext = SliprailMain & {
parameter: any,
subShortcutId: string,
subShortcutFilter: string | undefined,
getSettings: (keys?: string[]) => Promise<Record<string, unknown>>,
createWindow: (options: WindowOptions) => Promise<
WindowControl
>,
createStorage: () => KVStorage,
getWindows: (options?: GetWindowsOptions) => WindowControl[],
channel: WindowChannel | undefined,
toPreviewUrl: (filePath: string) => string,
events: {on: (event: "settingsChange", callback: () => unknown) => void, },
}