import type { APIEndpoints, PageRecord } from './types';
import type { ApiClient } from './request';
type DeleteContentEntryResponse = NonNullable<APIEndpoints['deleteContentEntry']['response']>;
type CreatePageOptions = {
    siteId: string;
    name?: string;
    path?: string;
    purpose?: string;
    options?: RequestInit;
};
type PageMutationOptions = {
    siteId: string;
    pageId: string;
    options?: RequestInit;
};
type SavePageDesignStateOptions = PageMutationOptions & {
    body: NonNullable<APIEndpoints['savePageDesignState']['body']>;
};
type ApplyPageDesignEditorActionOptions = PageMutationOptions & {
    body: NonNullable<APIEndpoints['applyPageDesignEditorAction']['body']>;
};
export declare function createPage(apiClient: ApiClient, { siteId, name, path, purpose, options }: CreatePageOptions): Promise<{
    page: PageRecord;
}>;
export declare function publishPageDraft(apiClient: ApiClient, { siteId, pageId, options }: PageMutationOptions): Promise<{
    page: PageRecord;
}>;
export declare function discardPageDraft(apiClient: ApiClient, { siteId, pageId, options }: PageMutationOptions): Promise<{
    page: PageRecord;
}>;
export declare function savePageDesignState(apiClient: ApiClient, { siteId, pageId, body, options }: SavePageDesignStateOptions): Promise<NonNullable<APIEndpoints['savePageDesignState']['response']>>;
export declare function getPageDesignEditorState(apiClient: ApiClient, { siteId, pageId, options }: PageMutationOptions): Promise<NonNullable<APIEndpoints['getPageDesignEditorState']['response']>>;
export declare function applyPageDesignEditorAction(apiClient: ApiClient, { siteId, pageId, body, options }: ApplyPageDesignEditorActionOptions): Promise<NonNullable<APIEndpoints['applyPageDesignEditorAction']['response']>>;
export declare function deletePage(apiClient: ApiClient, { siteId, pageId, options }: PageMutationOptions): Promise<DeleteContentEntryResponse>;
export {};
