import type { DocumentDriveServerOptions } from "document-drive";
/**
 * Supported drive preservation strategies
 */
declare const SUPPORTED_STRATEGIES: readonly ["preserve-all", "preserve-by-url-and-detach"];
type SupportedStrategy = (typeof SUPPORTED_STRATEGIES)[number];
/**
 * Get the drive preservation strategy from environment variable
 * @returns Valid strategy or default 'preserve-by-url-and-detach'
 */
export declare const getDrivePreservationStrategy: () => SupportedStrategy;
/**
 * Create the removeOldRemoteDrives configuration based on strategy and drive URLs
 * @param defaultDrivesUrl Array of default drive URLs
 * @returns RemoveOldRemoteDrives configuration
 */
export declare const createRemoveOldRemoteDrivesConfig: (defaultDrivesUrl: string[]) => NonNullable<DocumentDriveServerOptions["defaultDrives"]>["removeOldRemoteDrives"];
export {};
//# sourceMappingURL=drive-preservation.d.ts.map