import type { Node } from '@markdoc/markdoc';
export type ApiItemType = 'operation' | 'channel' | 'message' | 'markdown';
export type ApiItemData = {
    id: string;
    type: ApiItemType;
};
export type ApiItem = {
    id: string;
    label: string;
    link: string;
    dataSectionId: string;
    type: ApiItemType;
    action?: string;
    items: ApiItem[];
    ast?: Node | Node[];
};
export type ApiItemsGroup = {
    label: string;
    link: string;
    dataSectionId: string;
    items: ApiItem[];
    isGroup?: true;
    type?: string;
    ast?: Node | Node[];
};
