import type { WorkspaceConfig } from '../config/config-types.js'; export type SyncStatus = 'synced' | 'pending' | 'out-of-sync' | 'unknown'; export type ArtifactWorkspaceStatus = { workspaceId: string; localPath: string; configured: boolean; syncStatus: SyncStatus; lastSync: string | null; hasLocalChanges: boolean; artifactRepo: WorkspaceConfig['artifactRepo'] | null; nextActions: string[]; }; export type SyncResult = { workspaceId: string; success: boolean; localPath: string; remoteUrl: string | null; commands: string[]; output: string[]; error?: string; }; export declare function canonicalPath(path: string): string; export declare function canonicalChildPath(parentPath: string, ...segments: string[]): string; export declare function getLocalArtifactPath(workspace: WorkspaceConfig): string; export declare function getArtifactRemoteRepo(workspace: WorkspaceConfig): WorkspaceConfig['artifactRepo'] | null; export declare function getPublicRemoteUrl(artifactRepo: WorkspaceConfig['artifactRepo'] | null): string | null; export declare function getGitAuthEnv(artifactRepo: WorkspaceConfig['artifactRepo'] | null): NodeJS.ProcessEnv | undefined; export declare function redactSecrets(message: string): string;