import { type BinaryTarget } from './targets.js';
import { compileBunBinary, type RunCommand } from './commands.js';
export declare function buildServerBinaryArtifactPayload({ repoRoot, payloadDir, target, entrypoint, externals, buildDbProviders, env, runCommand, commandProbe, compileBinary, copyPath, }: {
    repoRoot: string;
    payloadDir: string;
    target?: BinaryTarget;
    entrypoint?: string;
    externals?: string[];
    buildDbProviders?: string;
    env?: NodeJS.ProcessEnv;
    runCommand?: RunCommand;
    commandProbe?: (cmd: string) => boolean;
    compileBinary?: typeof compileBunBinary;
    copyPath?: (entry: {
        sourcePath: string;
        destPath: string;
        recursive: boolean;
    }, fallbackCopyPath: typeof defaultCopyPath) => Promise<void>;
}): Promise<{
    executableName: string;
    entrypoint: string;
}>;
declare function defaultCopyPath({ sourcePath, destPath, recursive, }: {
    sourcePath: string;
    destPath: string;
    recursive: boolean;
}): Promise<void>;
export {};
//# sourceMappingURL=buildServerBinaryArtifactPayload.d.ts.map