export type N8nPackageJson = { name: string; version: string; n8n?: { nodes?: string[]; credentials?: string[]; strict?: boolean; }; }; export declare function updatePackageJson(dirPath: string, updater: (packageJson: N8nPackageJson) => N8nPackageJson): Promise; export declare function getPackageJson(dirPath: string): Promise; export declare function isN8nNodePackage(dirPath?: string): Promise; export declare function getPackageJsonNodes(dirPath: string): Promise; export declare function setNodesPackageJson(dirPath: string, nodes: string[]): Promise; export declare function addCredentialPackageJson(dirPath: string, credential: string): Promise;