/** * Get the System's configuration information */ export declare const getSystemConfig: () => Promise<{ logins: { [key: string]: unknown; }; /** * List of available providers (logins) that are available */ availableProviders: { provider: string; name: string; isOauth: boolean; }[]; [key: string]: unknown; }>; /** * Run a pixel string * * @param pixel - pixel * @param insightId - id of the insight to run */ export declare const runPixel: (pixel: string, insightId?: string) => Promise<{ errors: string[]; insightId: string; pixelReturn: { isMeta: boolean; operationType: string[]; output: O[number]; pixelExpression: string; pixelId: string; additionalOutput?: unknown; timeToRun: number; }[]; }>; /** * Asyncronously run a pixel string * * @param pixel - pixel * @param insightId - id of the insight to run */ export declare const runPixelAsync: (pixel: string, insightId?: string) => Promise<{ jobId: string; }>; /** * @name getPixelAsyncResult * @description Gets results for async pixel calls */ export declare const getPixelAsyncResult: (jobId: string) => Promise<{ errors: string[]; insightId: string; results: { isMeta: boolean; operationType: string[]; output: O[number]; pixelExpression: string; pixelId: string; additionalOutput?: unknown; timeToRun: number; }[]; }>; /** * @deprecated use getPixelJobStreaming * Get a partial result from the insight * @param insightId - id of the insight to run */ export declare const partial: (insightId: string) => Promise<{ message: { new: string; total: string; }; status: string; }>; /** * Get the console message from an insight * @param insightId - id of the insight to run */ export declare const console: (insightId: string) => Promise<{ message: string[]; status: string; }>; /** * Get streaming output from an async pixel job (LLM responses) * Poll this endpoint until a message with `finish_reason` is received * * @param jobId - The job ID returned from runPixelAsync * @returns Streaming response with message chunks and status */ export declare const getPixelJobStreaming: (jobId: string) => Promise<{ /** Array of streaming messages received since last poll */ message: ({ /** Type of stream message */ stream_type: "content"; /** Data payload for the message */ data: { /** Incremental content chunk from the LLM */ content?: string; /** Stop reason*/ finish_reason?: string; }; } | { /** Type of stream message */ stream_type: "tool"; /** Data payload for the message */ data: { /** Index of the tool call within this turn (used to associate deltas) */ index?: number; /** Tool call id; present on the opening chunk for a given index */ id?: string; /** Tool call type, typically "function" */ type?: string; /** Function delta — name arrives once, arguments arrive as JSON string chunks */ function?: { name?: string; arguments?: string; }; /** Stop reason; present on the final tool chunk */ finish_reason?: string; }; } | { /** Type of stream message */ stream_type: "thinking"; /** Data payload for the message */ data: { /** Incremental content chunk from the LLM */ thinking?: string; /** Stop reason*/ finish_reason?: string; }; })[]; /** Status of the streaming job */ status: "Created" | "Submitted" | "Canceled" | "InProgress" | "ProgressComplete" | "Streaming" | "Complete" | "Paused" | "Error" | "UnknownJob"; }>;