import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file artworking/v1/pdfsplit.proto. */ export declare const file_artworking_v1_pdfsplit: GenFile; /** * PdfSplitParams defines parameters for PDF page splitting * * @generated from message artworking.v1.PdfSplitParams */ export type PdfSplitParams = Message<"artworking.v1.PdfSplitParams"> & { /** * Whether to preserve original filename pattern * * @generated from field: bool preserve_filename = 1; */ preserveFilename: boolean; }; /** * Describes the message artworking.v1.PdfSplitParams. * Use `create(PdfSplitParamsSchema)` to create a new message. */ export declare const PdfSplitParamsSchema: GenMessage; /** * PdfSplitAction tracks the state of a PDF split operation * * @generated from message artworking.v1.PdfSplitAction */ export type PdfSplitAction = Message<"artworking.v1.PdfSplitAction"> & { /** * Execution plan ID from TaskAPI * * @generated from field: uint64 execution_plan_id = 1; */ executionPlanId: bigint; /** * Number of pages that were split * * @generated from field: int32 page_count = 2; */ pageCount: number; /** * Error message if split failed * * @generated from field: string error_message = 3; */ errorMessage: string; /** * Parameters used for the split * * @generated from field: artworking.v1.PdfSplitParams params = 4; */ params?: PdfSplitParams; /** * IDs of the newly created artwork items (one per page) * * @generated from field: repeated int32 new_item_ids = 5; */ newItemIds: number[]; /** * Map of page number to media item ID * * @generated from field: map page_media_items = 6; */ pageMediaItems: { [key: number]: bigint; }; }; /** * Describes the message artworking.v1.PdfSplitAction. * Use `create(PdfSplitActionSchema)` to create a new message. */ export declare const PdfSplitActionSchema: GenMessage;