UNPKG

histoire

Version:

A fast story book powered by Vite

11 lines • 712 B
import type { ExecutionTask } from '../execution-types.js'; import type { PreviewSessionOptions } from './session.js'; import type { ScreenshotFileOutput, ScreenshotOutput } from './types.js'; export { readPngDimensions } from './png.js'; /** Factory acquires nothing; lane owns launch, capture and confirmed teardown. */ export declare function createScreenshotTask(options: PreviewSessionOptions): ExecutionTask<ScreenshotOutput>; /** Optional UI image encoding uses the same lane and preview session as MCP. */ export declare function createScreenshotTask(options: PreviewSessionOptions, encoding: { format: 'png' | 'webp'; }): ExecutionTask<ScreenshotFileOutput>; //# sourceMappingURL=screenshot.d.ts.map