import type { Logger } from '../utils/logger.js';
type Manager = 'npm' | 'pnpm' | 'yarn' | 'bun';
type CommonOptions = {
    project?: string;
    packageManager?: Manager;
};
export declare class GameCommand {
    private logger;
    constructor(logger: Logger);
    init(input: string | undefined, o: {
        engine?: string;
        install?: boolean;
        packageManager?: Manager;
    }): Promise<void>;
    run(o: CommonOptions & {
        port?: number;
        open?: boolean;
    }): Promise<void>;
    validate(o: CommonOptions & {
        json?: boolean;
    }): Promise<boolean>;
    private project;
    private sources;
    private finish;
}
export {};
