import { NodeApiError, type IDataObject, type IExecuteFunctions, type IHttpRequestMethods, type IHttpRequestOptions, type ILoadOptionsFunctions, type IPollFunctions } from 'n8n-workflow'; export declare const USER_AGENT = "n8n-nodes-teamupcalendar"; export declare const BASE_URL = "https://api.teamup.com"; export declare const CREDENTIAL_NAME = "teamupApi"; export declare const CALENDAR_OVERRIDE_PARAMETER = "calendarKeyOverride"; export interface TeamupSubcalendar { id: string | number; name: string; color: number; active: boolean; overlap: boolean; type: number; [key: string]: unknown; } export interface TeamupEvent { id: string; title: string; start_dt: string; end_dt: string; subcalendar_id?: number; [key: string]: unknown; } export type TeamupContext = IExecuteFunctions | ILoadOptionsFunctions | IPollFunctions; export declare function getErrorMessage(error: unknown): string; export declare function isVersion1(context: TeamupContext): boolean; export declare function formatDateTime(dateStr: string, legacy?: boolean): string; export declare function todayInTimezone(timezone: string): string; export declare function formatRrule(rruleInput: string): string; export declare function compact(fields: IDataObject): IDataObject; export declare function parseJsonParameter(context: TeamupContext, value: unknown, parameterName: string, itemIndex?: number): IDataObject; type QueryValue = string | number | boolean | Array; export declare function toNodeApiError(context: TeamupContext, error: unknown, itemIndex?: number): NodeApiError; export interface TeamupRequestOptions { method: IHttpRequestMethods; path: string; qs?: Record; body?: unknown; global?: boolean; itemIndex?: number; requestOptions?: Partial; } export declare function teamupRequest(context: TeamupContext, options: TeamupRequestOptions): Promise; export declare function teamupRequestAllItems(context: TeamupContext, options: TeamupRequestOptions, propertyName: string, maxItems?: number, pageSize?: number): Promise; export declare function getResourceId(context: IExecuteFunctions, parameterName: string, itemIndex: number): string; export {};