import { ApiInParameterSpec, FieldSpec, TimeframeSpec } from '../schema/WebApiSchema.js'; import { PluginContext } from '../types/PluginContext.js'; import { SqupContext } from '../types/SqupContext.js'; import { Timeframe } from '../types/Timeframe.js'; export type FormattedTimeFrame = Timeframe & { formattedStart: string | number; formattedEnd: string | number; }; export declare function FormatTimeframe(timeframe: Timeframe, timeframeSpec?: TimeframeSpec): FormattedTimeFrame; export declare function GetPageSize(pluginContext: PluginContext, squpContext: SqupContext, pageSizeParam?: ApiInParameterSpec): number; export declare function NormalizeNextUrl(nextUrl: string, baseUrl: string): string; export declare function handleSimpleField(pluginContext: PluginContext, field: FieldSpec, output: Record, replacements?: Record): void; export declare function ApplyDataTransform(pluginContext: PluginContext, dataTransformName: string, fromValue: any): any; export declare function timeArrived(when: Date): Promise; export declare function mergeBodies(body1: Record, body2: Record): { [x: string]: unknown; };