import type { DTOKnowledgeItem, DTOKnowledgeItemCreatePayload, DTOKnowledgeItemDeletePayload, DTOKnowledgeItemDeleteResponse, DTOKnowledgeItemListResponse, DTOKnowledgeItemResponse, DTOKnowledgeItemUpdatePayload } from "@supernova-studio/client";
export type KnowledgeItemCreateInput = DTOKnowledgeItemCreatePayload;
export type KnowledgeSubitemCreateInput = Omit<KnowledgeItemCreateInput, "childrenItems" | "parentItemId">;
export type KnowledgeItemDeleteInput = DTOKnowledgeItemDeletePayload;
export type KnowledgeItemDeleteResponse = DTOKnowledgeItemDeleteResponse;
export type KnowledgeItemListResponse = DTOKnowledgeItemListResponse;
export type KnowledgeItemResponse = DTOKnowledgeItemResponse;
export type KnowledgeItemRemoteModel = DTOKnowledgeItem;
export type KnowledgeItemType = KnowledgeItemRemoteModel["type"];
export type KnowledgeItemUpdateInput = DTOKnowledgeItemUpdatePayload & {
    type?: KnowledgeItemType;
};
export type KnowledgeItemWithSubitems = {
    parent: KnowledgeItem;
    subitems: KnowledgeItem[];
};
export declare class KnowledgeItem {
    id: string;
    workspaceId: string;
    createdByUserId: string;
    createdAt: Date;
    updatedAt: Date;
    path: string;
    description: string;
    type: KnowledgeItemType;
    file: KnowledgeItemRemoteModel["file"];
    parentItemId: string | null;
    constructor(model: KnowledgeItemRemoteModel);
    toRemote(): KnowledgeItemRemoteModel;
}
