import type { Logger } from '../../cli/utils/logger';
interface EnsureAdminDependenciesOptions {
    cwd: string;
    logger: Logger;
    installIfMissing: boolean;
}
interface EnsureAdminDependenciesResult {
    didInstall: boolean;
}
/**
 * Ensures admin peer dependencies are declared (and optionally auto-installed).
 *
 * Policy (`installIfMissing`) is decided by the caller — e.g. build vs develop CLI flags.
 * Checking and installation are command-agnostic.
 */
declare const ensureAdminDependencies: ({ cwd, logger, installIfMissing, }: EnsureAdminDependenciesOptions) => Promise<EnsureAdminDependenciesResult>;
/**
 * Runs {@link ensureAdminDependencies} and exits the process on failure.
 *
 * @returns `true` when the caller should continue, `false` when a re-exec was triggered.
 */
declare const handleAdminDependencies: (options: EnsureAdminDependenciesOptions) => Promise<boolean>;
export { ensureAdminDependencies, handleAdminDependencies };
export type { EnsureAdminDependenciesOptions, EnsureAdminDependenciesResult };
//# sourceMappingURL=ensure-admin-dependencies.d.ts.map