import type { BackupOptions, BackupResult, FileEntry, SyncpointConfig } from '../utils/types.js'; /** * Scan config targets, resolve globs, filter excludes. * Returns found FileEntry[] and missing path strings. * * Supports three pattern types: * - Regex: /pattern/ format (e.g., /\.conf$/) * - Glob: *.ext, **\/pattern (e.g., ~/.config/*.yml) * - Literal: Direct file paths (e.g., ~/.zshrc) * * Exclude patterns are applied consistently across all target types. */ export declare function scanTargets(config: SyncpointConfig): Promise<{ found: FileEntry[]; missing: string[]; }>; /** * Create a backup archive. * * Flow: * 1. Resolve config targets (globs, tilde expansion) * 2. Filter excludes * 3. Collect file info (stat + hash) * 4. Include scripts/ if configured * 5. Generate metadata * 6. Create tar.gz archive to destination */ export declare function createBackup(config: SyncpointConfig, options?: BackupOptions): Promise;