export declare const MCP_QUERY_SYNC_WAIT_MS = 50000;
export declare const MCP_QUERY_POLL_INTERVAL_MS = 1000;
export declare const MCP_QUERY_SYNC_WAIT_SECONDS: number;
export declare const MCP_QUERY_SYNC_WAIT_LABEL = "~50s server-side";
export declare const MCP_QUERY_CLIENT_SUPPORT_NOTE = "Some clients expose structuredContent; others only expose content text plus isError. Prefer structuredContent.result when present. Otherwise parse content text and use isError as the success/failure signal.";
export declare const MCP_QUERY_TIMING_NOTE = "This tool waits up to ~50s server-side. If unfinished, call get_query_result again with queryUuid after nextPollAfterMs. Warehouse execution timeout comes from the Lightdash warehouse connection, not MCP. Client/transport timeouts are retryable with the same queryUuid.";
export declare const MCP_QUERY_ERROR_NOTE = "Validation errors fail before a query starts and should be fixed, not retried. Application errors and warehouse execution errors are terminal until the request is corrected.";
export declare const MCP_QUERY_STRUCTURED_RUNNING_NOTE = "heartbeatAt is an ISO timestamp for the latest Lightdash check that confirmed the query is still running.";
export declare const MCP_QUERY_COMMON_NOTES = "- Some clients expose structuredContent; others only expose content text plus isError. Prefer structuredContent.result when present. Otherwise parse content text and use isError as the success/failure signal.\n- This tool waits up to ~50s server-side. If unfinished, call get_query_result again with queryUuid after nextPollAfterMs. Warehouse execution timeout comes from the Lightdash warehouse connection, not MCP. Client/transport timeouts are retryable with the same queryUuid.\n- Validation errors fail before a query starts and should be fixed, not retried. Application errors and warehouse execution errors are terminal until the request is corrected.";
type McpVisualizationSourceTool = 'run_metric_query' | 'run_sql' | 'get_query_result';
export declare const buildMcpVisualizationFollowUpInstruction: (toolName: McpVisualizationSourceTool) => string;
type BuildMcpQueryRunResponseDescriptionArgs = {
    contentDescription: string;
    completedResultShape: string;
};
export declare const buildMcpQueryRunResponseDescription: ({ contentDescription, completedResultShape, }: BuildMcpQueryRunResponseDescriptionArgs) => string;
export declare const MCP_GET_QUERY_RESULT_RESPONSE_DESCRIPTION = "Response shape (MCP CallToolResult):\n- Running: content contains polling status text and structuredContent.result contains { status: \"running\", queryUuid, nextPollAfterMs, heartbeatAt }. heartbeatAt is an ISO timestamp for the latest Lightdash check that confirmed the query is still running.\n- Completed SQL: content contains CSV text and structuredContent.result contains { status: \"done\", queryUuid, rows, columns, rowCount, sqlRunnerUrl }.\n- Completed metric query: content contains bare CSV text and structuredContent.result contains { status: \"done\", queryUuid, rows, fields, exploreUrl }.\n- Failed/cancelled/expired: content contains status/error text and structuredContent.result contains { status, queryUuid, error }.";
export {};
//# sourceMappingURL=toolMcpQueryResultDescription.d.ts.map