import type { Page } from '../../../domain/generated/output.js';
import type { IPageRepository } from '../../ports/output/repositories/page-repository.interface.js';
import type { IPageVersionRepository } from '../../ports/output/repositories/page-version-repository.interface.js';
import type { IPmProjectRepository } from '../../ports/output/repositories/pm-project-repository.interface.js';
export interface CreatePageInput {
    projectId: string;
    title: string;
    content?: string;
    parentId?: string;
}
export type CreatePageResult = {
    ok: true;
    page: Page;
} | {
    ok: false;
    error: string;
};
export declare class CreatePageUseCase {
    private readonly pageRepo;
    private readonly pageVersionRepo;
    private readonly projectRepo;
    constructor(pageRepo: IPageRepository, pageVersionRepo: IPageVersionRepository, projectRepo: IPmProjectRepository);
    execute(input: CreatePageInput): Promise<CreatePageResult>;
}
//# sourceMappingURL=create-page.use-case.d.ts.map