import type { CliContext } from './types.ts'; import type { PrefixLog } from './prefixLog.ts'; interface ResolvedTarget { serverUrl: string; documentPath: string; username: string; password: string; auth: string; /** Local directory for the main document */ dest: string; } /** * Resolve the target server, document path, credentials, and local dest directory. * * If source is provided → resolveSource for serverUrl, credentials. * Otherwise → read settings.json for documentPath, readConfig for credentials. * dest: explicit destination → basename of path → server hostname → '.' * * Shared across all push/pull utilities. */ export declare function resolveTarget(ctx: CliContext, log: PrefixLog, source?: string, destination?: string): Promise; export {}; //# sourceMappingURL=resolveTarget.d.ts.map