import { createScenario } from "../db/scenarios.js";
import { ensureProject } from "../db/projects.js";
import type { CreateScenarioInput } from "../types/index.js";
interface FrameworkInfo {
    name: string;
    defaultUrl: string;
    features: string[];
}
export declare function detectFramework(dir: string): FrameworkInfo | null;
export declare function getStarterScenarios(framework: {
    name: string;
    features: string[];
}, projectId: string): CreateScenarioInput[];
export interface InitOptions {
    name?: string;
    url?: string;
    path?: string;
    dir?: string;
}
export interface InitResult {
    project: ReturnType<typeof ensureProject>;
    scenarios: ReturnType<typeof createScenario>[];
    framework: FrameworkInfo | null;
    url: string;
}
export declare function initProject(options: InitOptions): InitResult;
export {};
//# sourceMappingURL=init.d.ts.map