import type { BuildRunClientView, RunEventView } from '../builds/types'; export interface UseBuildRunOptions { /** Initial exclusive event cursor. Defaults to zero. */ after?: number; } export interface UseBuildRunResult { run: BuildRunClientView | null; /** All events observed since this hook instance began watching. */ events: RunEventView[]; loading: boolean; error: Error | null; } export declare function useBuildRun(appId: string | null | undefined, runId: string | null | undefined, options?: UseBuildRunOptions): UseBuildRunResult;