import { z } from 'zod'; import { SeekPage } from '../../../core/common/seek-page'; import { ApEdition } from '../../../core/flag/flag'; import { PackageType, PieceCategory } from '../piece'; export declare const EXACT_VERSION_PATTERN = "^[0-9]+\\.[0-9]+\\.[0-9]+$"; export declare const EXACT_VERSION_REGEX: RegExp; export declare const ExactVersionType: z.ZodString; export declare const VersionType: z.ZodString; export declare enum SuggestionType { ACTION = "ACTION", TRIGGER = "TRIGGER", ACTION_AND_TRIGGER = "ACTION_AND_TRIGGER" } export declare enum PieceSortBy { NAME = "NAME", UPDATED = "UPDATED", CREATED = "CREATED", POPULARITY = "POPULARITY" } export declare enum PieceOrderBy { ASC = "ASC", DESC = "DESC" } export declare const GetPieceRequestWithScopeParams: z.ZodObject<{ name: z.ZodString; scope: z.ZodString; }, z.core.$strip>; export type GetPieceRequestWithScopeParams = z.infer; export declare const GetPieceRequestParams: z.ZodObject<{ name: z.ZodString; }, z.core.$strip>; export type GetPieceRequestParams = z.infer; export declare const ListPiecesRequestQuery: z.ZodObject<{ projectId: z.ZodOptional; release: z.ZodOptional; includeTags: z.ZodPipe, z.ZodOptional>; includeHidden: z.ZodPipe, z.ZodOptional>; edition: z.ZodOptional>; searchQuery: z.ZodOptional; sortBy: z.ZodOptional>; orderBy: z.ZodOptional>; categories: z.ZodPipe, z.ZodOptional>>>; suggestionType: z.ZodOptional>; locale: z.ZodOptional; }, z.core.$strip>; export type ListPiecesRequestQuery = z.infer; export declare const RegistryPiecesRequestQuery: z.ZodObject<{ release: z.ZodString; edition: z.ZodEnum; }, z.core.$strip>; export type RegistryPiecesRequestQuery = z.infer; export declare const GetPieceRequestQuery: z.ZodObject<{ version: z.ZodOptional; projectId: z.ZodOptional; locale: z.ZodOptional; }, z.core.$strip>; export type GetPieceRequestQuery = z.infer; export declare const PieceOptionRequest: z.ZodObject<{ projectId: z.ZodString; pieceName: z.ZodString; pieceVersion: z.ZodString; actionOrTriggerName: z.ZodString; propertyName: z.ZodString; flowId: z.ZodString; flowVersionId: z.ZodString; input: z.ZodAny; searchValue: z.ZodOptional; }, z.core.$strip>; export type PieceOptionRequest = z.infer; export declare enum PieceScope { PLATFORM = "PLATFORM" } export declare const AddPieceRequestBody: z.ZodUnion; scope: z.ZodLiteral; pieceName: z.ZodString; pieceVersion: z.ZodString; pieceArchive: z.ZodObject<{ filename: z.ZodString; data: z.ZodUnknown; type: z.ZodLiteral<"file">; mimetype: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ packageType: z.ZodLiteral; scope: z.ZodLiteral; pieceName: z.ZodString; pieceVersion: z.ZodString; }, z.core.$strip>]>; export type AddPieceRequestBody = z.infer; export declare const ListPieceVersionsRequestParams: z.ZodObject<{ name: z.ZodString; }, z.core.$strip>; export declare const ListPieceVersionsWithScopeRequestParams: z.ZodObject<{ name: z.ZodString; scope: z.ZodString; }, z.core.$strip>; export type ListPieceVersionsWithScopeRequestParams = z.infer; export type ListPieceVersionsRequestParams = z.infer; export declare const ListPieceVersionsResponse: z.ZodObject<{ version: z.ZodString; }, z.core.$strip>; export type ListPieceVersionsResponse = SeekPage>; //# sourceMappingURL=piece-requests.d.ts.map