/**
 * Pure helper functions for `olam refresh`.
 *
 * Kept in a separate file so unit tests can import them without
 * pulling in @olam/adapters (which requires a built package).
 */
export interface CpSourceEntry {
    readonly srcPath: string;
    /** Relative to /opt/olam/control-plane/ inside the container. */
    readonly destRelPath: string;
}
/**
 * Collect the CP source files to copy — mirrors build-devbox.sh:38-77.
 *
 * Includes:
 *   - standalone/*.mjs  (excluding *.test.mjs)
 *   - standalone/lib/*.mjs  (excluding *.test.mjs) when lib/ exists
 */
export declare function collectCpSourceFiles(standaloneDir: string): CpSourceEntry[];
/**
 * Validate server.mjs is present — mirrors build-devbox.sh:62-66.
 * Throws if missing so the caller gets a clear, actionable error.
 */
export declare function validateServerMjsPresent(entries: CpSourceEntry[]): void;
//# sourceMappingURL=refresh-helpers.d.ts.map