export type ReferenceScope = 'global' | 'local'; export type ListReferenceScope = 'effective' | ReferenceScope; export type Reference = { description: string; enabled?: boolean; source: { type: 'git'; url: string; ref?: string; } | { type: 'local'; path: string; }; }; export type ReferenceStatus = { status: 'cloning' | 'available' | 'error'; error?: string; output?: string[]; }; export type ReferencePreparationEvent = ReferenceStatus & { name: string; url: string; ref?: string; projectRoot: string; }; export type ReferencesResponse = { references: Record; statuses: Record; }; export type ReferenceDirectoryListing = { path: string; parent: string | null; directories: Array<{ name: string; path: string; }>; }; export declare const referencesMixin: { listReferences(scope: ListReferenceScope): Promise; listReferenceDirectories(path?: string): Promise; saveReference(name: string, reference: Reference, scope: ReferenceScope): Promise; retryReference(name: string): Promise; deleteReference(name: string, scope: ReferenceScope): Promise; }; //# sourceMappingURL=references.d.ts.map