mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 04:21:32 +00:00
15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
import type { BrowserWindow } from 'electron';
|
|
|
|
export interface ProtocolOptions {
|
|
baseUrl?: string;
|
|
}
|
|
|
|
export interface ProtocolUtils {
|
|
configure: (options: ProtocolOptions) => void;
|
|
isConfigured: () => boolean;
|
|
}
|
|
|
|
export function start(): Promise<string | undefined>;
|
|
export function load(mainWindow: BrowserWindow, path?: string): void;
|
|
export const protocolUtils: ProtocolUtils;
|