import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class Layouts extends ClientSDK { /** * Create a layout * * @remarks * Creates a new layout in the Novu Cloud environment */ create(createLayoutDto: components.CreateLayoutDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * List all layouts * * @remarks * Retrieves a list of layouts with optional filtering and pagination */ list(request: operations.LayoutsControllerListRequest, options?: RequestOptions): Promise; /** * Update a layout * * @remarks * Updates the details of an existing layout, here **layoutId** is the identifier of the layout */ update(updateLayoutDto: components.UpdateLayoutDto, layoutId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Retrieve a layout * * @remarks * Fetches details of a specific layout by its unique identifier **layoutId** */ retrieve(layoutId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Delete a layout * * @remarks * Removes a specific layout by its unique identifier **layoutId** */ delete(layoutId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Duplicate a layout * * @remarks * Duplicates a layout by its unique identifier **layoutId**. This will create a new layout with the content of the original layout. */ duplicate(duplicateLayoutDto: components.DuplicateLayoutDto, layoutId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Generate layout preview * * @remarks * Generates a preview for a layout by its unique identifier **layoutId** */ generatePreview(layoutPreviewRequestDto: components.LayoutPreviewRequestDto, layoutId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Get layout usage * * @remarks * Retrieves information about workflows that use the specified layout by its unique identifier **layoutId** */ usage(layoutId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=layouts.d.ts.map