import { StringValue } from 'ms'; export interface RemoteConfig { /** Absolute path to the root of the backup repository */ root: string; /** Minimum duration in milliseconds that files must stay immutable */ immutabilityDuration: number; /** Milliseconds to wait between consecutive size checks when polling for write completion (default: 100) */ delayBetweenSizeCheck: number; } export interface AppConfigInput { liftEvery: StringValue; /** Map of remote ID to its resolved configuration */ remotes: Record>; } export interface AppConfig { /** Interval in milliseconds between immutability-lifting runs */ liftEvery: number; /** Map of remote ID to its resolved configuration */ remotes: Record; } export declare function parseConfig(config: AppConfigInput): AppConfig; export declare function loadRawConfig(): Promise; export default function loadConfig(): Promise;