import { Event as EventPb, Output as OutputPb } from '../types-js/api/v1/event_pb'; import { Error as ErrorPb } from '../types-js/common/v1/errors_pb'; export interface Result { getEvents(): ExecutionEvent[]; getOutput(): ExecutionOutput; getErrors(): ExecutionError[]; getResult(): JsonValue; getBlockResult(blockName: string): JsonValue; } export type ExecutionEvent = EventPb; export type ExecutionOutput = OutputPb; export type ExecutionError = ErrorPb; export type ViewMode = 'editor' | 'preview' | 'deployed'; export type JsonValue = undefined | null | number | string | boolean | JsonValue[] | object; export type ClientConfig = { endpoint?: string; token: string; connectionTimeoutMs?: number; insecure?: boolean; authority?: string; retries?: number; }; export type ApiConfig = { profile?: string; viewMode?: ViewMode; branch?: string; commit?: string; }; //# sourceMappingURL=execution.d.ts.map