import { WorkflowSerializer, type WorkflowPackageContent } from '../../entities/workflow/workflow.serializer'; import { type SerializedCredential } from '../../spec/serialized/credential.schema'; import { type SerializedVariable } from '../../spec/serialized/variable.schema'; import type { PackageReader } from '../package-reader'; export type PackageFileSource = Pick; export interface InventoryProject { path: string; id: string; name: string; } export interface InventoryWorkflow { path: string; projectId: string; id: string; name: string; content: WorkflowPackageContent; } export interface InventoryCredential { path: string; projectId: string | null; credential: SerializedCredential; } export interface InventoryVariable { path: string; projectId: string | null; variable: SerializedVariable; } export interface PackageDirectoryInventory { projects: InventoryProject[]; workflows: InventoryWorkflow[]; credentials: InventoryCredential[]; variables: InventoryVariable[]; } export declare class PackageDirectoryInventoryReader { private readonly workflowSerializer; constructor(workflowSerializer: WorkflowSerializer); read(source: PackageFileSource): Promise; private readProjects; private readWorkflows; private readCredentials; private readVariables; private readEntity; }