import { z } from 'zod'; import { ArrayProperty } from './array-property'; import { CheckboxProperty } from './checkbox-property'; import { DateTimeProperty } from './date-time-property'; import { DropdownProperty, MultiSelectDropdownProperty } from './dropdown/dropdown-prop'; import { StaticDropdownProperty, StaticMultiSelectDropdownProperty } from './dropdown/static-dropdown'; import { DynamicProperties } from './dynamic-prop'; import { FileProperty } from './file-property'; import { JsonProperty } from './json-property'; import { MarkDownProperty } from './markdown-property'; import { MarkdownVariant } from '@activepieces/shared'; import { NumberProperty } from './number-property'; import { ObjectProperty } from './object-property'; import { PropertyType } from './property-type'; import { LongTextProperty, ShortTextProperty } from './text-property'; import { CustomProperty, CustomPropertyCodeFunctionParams } from './custom-property'; import { ColorProperty } from './color-property'; import { PieceAuthProperty } from '../authentication'; export declare const InputProperty: z.ZodUnion; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; options: z.ZodObject<{ disabled: z.ZodOptional; placeholder: z.ZodOptional; options: z.ZodArray>; }, z.core.$strip>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; options: z.ZodObject<{ disabled: z.ZodOptional; placeholder: z.ZodOptional; options: z.ZodArray>; }, z.core.$strip>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ refreshers: z.ZodArray; type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ refreshers: z.ZodArray; type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; refreshers: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; properties: z.ZodRecord; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; options: z.ZodObject<{ disabled: z.ZodOptional; placeholder: z.ZodOptional; options: z.ZodArray>; }, z.core.$strip>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ refreshers: z.ZodArray; type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; options: z.ZodObject<{ disabled: z.ZodOptional; placeholder: z.ZodOptional; options: z.ZodArray>; }, z.core.$strip>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>]>>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>]>; export type InputProperty = ShortTextProperty | LongTextProperty | MarkDownProperty | CheckboxProperty | DropdownProperty | StaticDropdownProperty | NumberProperty | ArrayProperty | ObjectProperty | JsonProperty | MultiSelectDropdownProperty | StaticMultiSelectDropdownProperty | DynamicProperties | DateTimeProperty | FileProperty | CustomProperty | ColorProperty; type Properties = Omit; export declare const Property: { ShortText(request: Properties>): R extends true ? ShortTextProperty : ShortTextProperty; Checkbox(request: Properties>): R extends true ? CheckboxProperty : CheckboxProperty; LongText(request: Properties>): R extends true ? LongTextProperty : LongTextProperty; MarkDown(request: { value: string; variant?: MarkdownVariant; }): MarkDownProperty; Number(request: Properties>): R extends true ? NumberProperty : NumberProperty; Json(request: Properties>): R extends true ? JsonProperty : JsonProperty; Array(request: Properties>): R extends true ? ArrayProperty : ArrayProperty; Object(request: Properties>): R extends true ? ObjectProperty : ObjectProperty; Dropdown(request: Properties>): R extends true ? DropdownProperty : DropdownProperty; StaticDropdown(request: Properties>): R extends true ? StaticDropdownProperty : StaticDropdownProperty; MultiSelectDropdown(request: Properties>): R extends true ? MultiSelectDropdownProperty : MultiSelectDropdownProperty; DynamicProperties(request: Properties>): R extends true ? DynamicProperties : DynamicProperties; StaticMultiSelectDropdown(request: Properties>): R extends true ? StaticMultiSelectDropdownProperty : StaticMultiSelectDropdownProperty; DateTime(request: Properties>): R extends true ? DateTimeProperty : DateTimeProperty; File(request: Properties>): R extends true ? FileProperty : FileProperty; Custom(request: Omit>, "code"> & { /** * This is designed to be self-contained and operates independently of any * external libraries or imported dependencies. All necessary logic and * functionality are implemented within this function itself. * * You can return a cleanup function that will be called when the component is unmounted in the frontend. * */ code: ((ctx: CustomPropertyCodeFunctionParams) => (() => void) | void); }): R extends true ? CustomProperty : CustomProperty; Color(request: Properties>): R extends true ? ColorProperty : ColorProperty; }; export {}; //# sourceMappingURL=index.d.ts.map