示例工程 11-main-process-services
11-main-process-services/app/.tsc/main/services/shell-service.d.ts
export type ShellService = {
open(raw: string): Promise<{
url: string;
dryRun: boolean;
}>;
};
export declare function createShellService(options: {
allowlist: string[];
openExternal: (url: string) => Promise<void>;
dryRun?: boolean;
}): ShellService;
//# sourceMappingURL=shell-service.d.ts.map