import type { Path, StructureEntryData } from "../types.js";
export declare function create(node: StructureEntryData, name: string, position: number, parentId: number): Promise<any>;
export declare function rename(navItemId: number, newName: string): Promise<{
    message: string;
    error?: undefined;
} | {
    error: string;
    message?: undefined;
}>;
export declare function remove(navItemId: number, paths: Path[]): Promise<void>;
export declare function move(parentId: number, navItemId: number, position: number): Promise<void>;
export declare function saveNode(node: StructureEntryData, paths?: Path[]): Promise<void>;
export declare function getNode(id: number): Promise<any>;
//# sourceMappingURL=action.d.ts.map