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';
export interface UpdatePageInput {
    pageId: string;
    title?: string;
    content?: string;
    parentId?: string;
    sortOrder?: number;
    isFavorite?: boolean;
}
export type UpdatePageResult = {
    ok: true;
    page: Page;
} | {
    ok: false;
    error: string;
};
export declare class UpdatePageUseCase {
    private readonly pageRepo;
    private readonly pageVersionRepo;
    constructor(pageRepo: IPageRepository, pageVersionRepo: IPageVersionRepository);
    execute(input: UpdatePageInput): Promise<UpdatePageResult>;
}
//# sourceMappingURL=update-page.use-case.d.ts.map