import type { IDataObject } from 'n8n-workflow'; import type { MondayGraphQLClient } from './MondayGraphQLClient'; export type BoardHierarchyType = 'classic' | 'multi_level'; export declare function getBoardHierarchyType(client: MondayGraphQLClient, itemIndex: number, boardId: string): Promise; export declare const COLUMN_VALUES_CALCULATED_ARG = "capabilities: [CALCULATED]"; export declare const BATTERY_VALUE_FRAGMENT = "... on BatteryValue { battery_value { key count } is_leaf }"; export declare const LINKED_VALUE_FRAGMENTS: string; export declare const LINKED_VALUE_DETAIL_FRAGMENTS: string; export interface BatteryEntry { key?: string | number; count?: number; } export declare function formatBatteryText(entries: BatteryEntry[] | null | undefined, settingsStr?: string): string | null; export declare function buildAllGroupsRule(groupIds: string[]): IDataObject; export declare function fetchBoardGroupIds(client: MondayGraphQLClient, itemIndex: number, boardId: string): Promise; export declare const ROLLUP_FUNCTIONS_BY_COLUMN_TYPE: Record; export declare function validateRollupFunction(columnType: string, rollupFunction: string): string | null; export declare const MULTI_LEVEL_AGGREGATE_NOTE = "This is a multi-level board. Calculations and groupings that read a board column cover LEAF items only (items without subitems, at any depth) \u2014 values stored on parent items are excluded, and rollup columns aggregate their leaf values. Count Items covers all items (parents and subitems) only while the query reads no board column (the item name does not count); combined with a column-based calculation or grouping it also becomes leaf-only.";