import { z } from 'zod'; import { LayoutContextSchema } from './layout.js'; export interface WidgetIdEntry { widgetId: string; widgetType: string; row: number; column: number; parentWidgetId?: string; } export declare function extractWidgetIdSummary(rows: any[], parentWidgetId?: string): WidgetIdEntry[]; export declare function buildStaleIdErrorText(widgetId: string, contextType: string): string; export declare function buildStaleIdErrorResponse(widgetId: string, contextType: string): { content: { type: "text"; text: string; }[]; isError: boolean; }; export declare function determineApiEndpoint(context: z.infer): string; export declare function buildRequestParams(context: z.infer): any; export declare function buildUpdateRequestBody(context: z.infer, widgetId: string, newConfiguration: Record): any; export declare function findWidgetById(rows: any[], widgetId: string): any | null; //# sourceMappingURL=widget-tool-helpers.d.ts.map