import type { Transport, PageResult } from '@23blocks/contracts'; import type { LandingPage, CreateLandingPageRequest, UpdateLandingPageRequest, ListLandingPagesParams } from '../types/landing-page.js'; export interface LandingPagesService { /** * List landing pages with optional filtering. * @returns Paginated list of LandingPage records with metadata. */ list(params?: ListLandingPagesParams): Promise>; /** * Get a single landing page by unique ID. * @returns The matching LandingPage record. */ get(uniqueId: string): Promise; /** * Create a new landing page. * @returns The newly created LandingPage record. */ create(data: CreateLandingPageRequest): Promise; /** * Update an existing landing page. * @returns The updated LandingPage record. */ update(uniqueId: string, data: UpdateLandingPageRequest): Promise; /** * Delete a landing page. */ delete(uniqueId: string): Promise; /** * Publish a landing page, making it publicly accessible. * @returns The updated LandingPage record with published status. */ publish(uniqueId: string): Promise; /** * Unpublish a landing page, removing public access. * @returns The updated LandingPage record with unpublished status. */ unpublish(uniqueId: string): Promise; /** * Look up a landing page by its URL slug. * @returns The matching LandingPage record. */ getBySlug(slug: string): Promise; } export declare function createLandingPagesService(transport: Transport, _config: { apiKey: string; }): LandingPagesService; //# sourceMappingURL=landing-pages.service.d.ts.map