export interface LangflowResponse { session_id: string; outputs: Array<{ inputs: object; outputs: Array; }>; } export declare class FlowResponse { sessionId: string; outputs: Array<{ inputs: any; outputs: Array; }>; constructor(response: LangflowResponse); /** * Retrieves the first chat response message from the outputs. * * This is useful when you have one chat output from a flow. It is a shortcut * to return the text from the first chat output. If no chat output is found, * it returns undefined. * * @returns {string | undefined} The chat response message text if available, otherwise undefined. */ chatOutputText(): string | undefined; }