import type { Frame, Report } from "@fairspec/library"; import type { TaskInnerAPI } from "tasuku"; type TaskApi = Omit; type Status = "success" | "warning" | "error"; export interface SessionOptions { silent?: boolean; debug?: boolean; json?: boolean; } export declare class Session implements SessionOptions { silent?: boolean; debug?: boolean; json?: boolean; constructor(options: SessionOptions); renderText(text: string, options?: { status?: Status; }): void; renderTextResult(text: string, options?: { status?: Status; }): void; renderDataResult(data: string | object): void; renderFrameResult(frame: Frame): void; renderReportResult(report: Report): void; task(title: string, func: (api: TaskApi) => Promise): Promise; } export {};