/// <reference types="node" />
/**
 * Inputs controlling one cached Agents Server production build.
 *
 * @private internal type of `ptbk agents-server`
 */
type EnsureAgentsServerBuildOptions = {
    readonly appPath?: string;
    readonly environment?: NodeJS.ProcessEnv;
    readonly isBuildForced?: boolean;
    readonly onBuildEvent?: (event: string) => void;
    readonly onBuildOutput?: (chunk: string) => void;
};
/**
 * Paths needed after the Agents Server production build is ready.
 *
 * @private internal type of `ptbk agents-server`
 */
export type AgentsServerBuildArtifacts = {
    readonly appPath: string;
    readonly nextCliPath: string;
};
/**
 * Input paths required to validate or update the cached Agents Server build.
 *
 * @private internal type of `ptbk agents-server`
 */
type AgentsServerBuildCacheOptions = {
    readonly appPath: string;
    readonly environment?: NodeJS.ProcessEnv;
};
/**
 * Ensures that the local Agents Server production build exists and matches its source fingerprint.
 *
 * @private internal utility of `ptbk agents-server`
 */
export declare function ensureAgentsServerBuild(options?: EnsureAgentsServerBuildOptions): Promise<AgentsServerBuildArtifacts>;
/**
 * Returns true when the production build marker and source fingerprint still match.
 *
 * @private internal utility of `ptbk agents-server`
 */
export declare function isAgentsServerBuildCacheCurrent(options: AgentsServerBuildCacheOptions): Promise<boolean>;
/**
 * Persists the source fingerprint for the just-created production build.
 *
 * @private internal utility of `ptbk agents-server`
 */
export declare function writeAgentsServerBuildCache(options: AgentsServerBuildCacheOptions): Promise<void>;
/**
 * Finds the Agents Server app in a source checkout or generated CLI package.
 *
 * @private internal utility of `ptbk agents-server`
 */
export declare function resolveAgentsServerAppPath(): Promise<string>;
export {};
