import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, Timestamp } from "@bufbuild/protobuf"; import { Media } from "../../media/v1/media_pb.js"; /** * @generated from enum preflight.v2.Alignment */ export declare enum Alignment { /** * @generated from enum value: ALIGNMENT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: ALIGNMENT_TRIM = 1; */ TRIM = 1, /** * @generated from enum value: ALIGNMENT_BLEED = 2; */ BLEED = 2, /** * @generated from enum value: ALIGNMENT_SPECIFIED_SIZE = 3; */ SPECIFIED_SIZE = 3 } /** * @generated from message preflight.v2.Guide */ export declare class Guide extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: int64 artworker_id = 4; */ artworkerId: bigint; /** * @generated from field: int64 guide_group_id = 5; */ guideGroupId: bigint; /** * @generated from field: string name = 6; */ name: string; /** * @generated from field: string description = 7; */ description: string; /** * @generated from field: preflight.v2.Alignment alignment = 8; */ alignment: Alignment; /** * @generated from field: bool is_double_sided = 9; */ isDoubleSided: boolean; /** * @generated from field: int64 media_item_id = 10; */ mediaItemId: bigint; /** * @generated from field: optional media.v1.Media media_item = 11; */ mediaItem?: Media; /** * @generated from field: optional double height = 12; */ height?: number; /** * @generated from field: optional double width = 13; */ width?: number; /** * @generated from field: optional int64 selected_size_preset_id = 14; */ selectedSizePresetId?: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.Guide"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Guide; static fromJson(jsonValue: JsonValue, options?: Partial): Guide; static fromJsonString(jsonString: string, options?: Partial): Guide; static equals(a: Guide | PlainMessage | undefined, b: Guide | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GuideGroup */ export declare class GuideGroup extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: int64 artworker_id = 4; */ artworkerId: bigint; /** * @generated from field: string name = 5; */ name: string; /** * @generated from field: string description = 6; */ description: string; /** * @generated from field: repeated preflight.v2.Guide guides = 7; */ guides: Guide[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GuideGroup"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GuideGroup; static fromJson(jsonValue: JsonValue, options?: Partial): GuideGroup; static fromJsonString(jsonString: string, options?: Partial): GuideGroup; static equals(a: GuideGroup | PlainMessage | undefined, b: GuideGroup | PlainMessage | undefined): boolean; } /** * Request/Response messages for GuideGroup operations * * @generated from message preflight.v2.GetGuideGroupsRequest */ export declare class GetGuideGroupsRequest extends Message { /** * @generated from field: int64 artworker_id = 1; */ artworkerId: bigint; /** * @generated from field: bool preload_guides = 2; */ preloadGuides: boolean; /** * @generated from field: bool preload_media_items = 3; */ preloadMediaItems: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetGuideGroupsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupsRequest; static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupsRequest; static equals(a: GetGuideGroupsRequest | PlainMessage | undefined, b: GetGuideGroupsRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetGuideGroupsResponse */ export declare class GetGuideGroupsResponse extends Message { /** * @generated from field: repeated preflight.v2.GuideGroup guide_groups = 1; */ guideGroups: GuideGroup[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetGuideGroupsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupsResponse; static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupsResponse; static equals(a: GetGuideGroupsResponse | PlainMessage | undefined, b: GetGuideGroupsResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetGuideGroupRequest */ export declare class GetGuideGroupRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: bool preload_guides = 2; */ preloadGuides: boolean; /** * @generated from field: bool preload_media_items = 3; */ preloadMediaItems: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetGuideGroupRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupRequest; static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupRequest; static equals(a: GetGuideGroupRequest | PlainMessage | undefined, b: GetGuideGroupRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetGuideGroupResponse */ export declare class GetGuideGroupResponse extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetGuideGroupResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupResponse; static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupResponse; static equals(a: GetGuideGroupResponse | PlainMessage | undefined, b: GetGuideGroupResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.CreateGuideGroupRequest */ export declare class CreateGuideGroupRequest extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.CreateGuideGroupRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideGroupRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideGroupRequest; static fromJsonString(jsonString: string, options?: Partial): CreateGuideGroupRequest; static equals(a: CreateGuideGroupRequest | PlainMessage | undefined, b: CreateGuideGroupRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.CreateGuideGroupResponse */ export declare class CreateGuideGroupResponse extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.CreateGuideGroupResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideGroupResponse; static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideGroupResponse; static fromJsonString(jsonString: string, options?: Partial): CreateGuideGroupResponse; static equals(a: CreateGuideGroupResponse | PlainMessage | undefined, b: CreateGuideGroupResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.UpdateGuideGroupRequest */ export declare class UpdateGuideGroupRequest extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.UpdateGuideGroupRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideGroupRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideGroupRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateGuideGroupRequest; static equals(a: UpdateGuideGroupRequest | PlainMessage | undefined, b: UpdateGuideGroupRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.UpdateGuideGroupResponse */ export declare class UpdateGuideGroupResponse extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.UpdateGuideGroupResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideGroupResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideGroupResponse; static fromJsonString(jsonString: string, options?: Partial): UpdateGuideGroupResponse; static equals(a: UpdateGuideGroupResponse | PlainMessage | undefined, b: UpdateGuideGroupResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.DeleteGuideGroupRequest */ export declare class DeleteGuideGroupRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.DeleteGuideGroupRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideGroupRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideGroupRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteGuideGroupRequest; static equals(a: DeleteGuideGroupRequest | PlainMessage | undefined, b: DeleteGuideGroupRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.DeleteGuideGroupResponse */ export declare class DeleteGuideGroupResponse extends Message { /** * @generated from field: bool success = 1; */ success: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.DeleteGuideGroupResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideGroupResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideGroupResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteGuideGroupResponse; static equals(a: DeleteGuideGroupResponse | PlainMessage | undefined, b: DeleteGuideGroupResponse | PlainMessage | undefined): boolean; } /** * Request/Response messages for Guide operations * * @generated from message preflight.v2.GetGuideRequest */ export declare class GetGuideRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; /** * @generated from field: bool preload_media_item = 2; */ preloadMediaItem: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetGuideRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideRequest; static fromJsonString(jsonString: string, options?: Partial): GetGuideRequest; static equals(a: GetGuideRequest | PlainMessage | undefined, b: GetGuideRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.GetGuideResponse */ export declare class GetGuideResponse extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.GetGuideResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideResponse; static fromJsonString(jsonString: string, options?: Partial): GetGuideResponse; static equals(a: GetGuideResponse | PlainMessage | undefined, b: GetGuideResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.CreateGuideRequest */ export declare class CreateGuideRequest extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.CreateGuideRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideRequest; static fromJsonString(jsonString: string, options?: Partial): CreateGuideRequest; static equals(a: CreateGuideRequest | PlainMessage | undefined, b: CreateGuideRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.CreateGuideResponse */ export declare class CreateGuideResponse extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.CreateGuideResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideResponse; static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideResponse; static fromJsonString(jsonString: string, options?: Partial): CreateGuideResponse; static equals(a: CreateGuideResponse | PlainMessage | undefined, b: CreateGuideResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.UpdateGuideRequest */ export declare class UpdateGuideRequest extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.UpdateGuideRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateGuideRequest; static equals(a: UpdateGuideRequest | PlainMessage | undefined, b: UpdateGuideRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.UpdateGuideResponse */ export declare class UpdateGuideResponse extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.UpdateGuideResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideResponse; static fromJsonString(jsonString: string, options?: Partial): UpdateGuideResponse; static equals(a: UpdateGuideResponse | PlainMessage | undefined, b: UpdateGuideResponse | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.DeleteGuideRequest */ export declare class DeleteGuideRequest extends Message { /** * @generated from field: int64 id = 1; */ id: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.DeleteGuideRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteGuideRequest; static equals(a: DeleteGuideRequest | PlainMessage | undefined, b: DeleteGuideRequest | PlainMessage | undefined): boolean; } /** * @generated from message preflight.v2.DeleteGuideResponse */ export declare class DeleteGuideResponse extends Message { /** * @generated from field: bool success = 1; */ success: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "preflight.v2.DeleteGuideResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteGuideResponse; static equals(a: DeleteGuideResponse | PlainMessage | undefined, b: DeleteGuideResponse | PlainMessage | undefined): boolean; }