import { z } from "zod"; import { StaticDropdownProperty, StaticMultiSelectDropdownProperty } from "./dropdown/static-dropdown"; import { ShortTextProperty } from "./text-property"; import { BasePropertySchema, TPropertyValue } from "./common"; import { AppConnectionValueForAuthProperty, PropertyContext } from "../../context"; import { PropertyType } from "./property-type"; import { JsonProperty } from "./json-property"; import { ArrayProperty } from "./array-property"; import { ExtractPieceAuthPropertyTypeForMethods, InputPropertyMap, PieceAuthProperty } from ".."; export declare const DynamicProp: 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; 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; 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; options: z.ZodObject<{ disabled: z.ZodOptional; placeholder: z.ZodOptional; options: z.ZodArray>; }, z.core.$strip>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>]>; export type DynamicProp = ShortTextProperty | StaticDropdownProperty | JsonProperty | ArrayProperty | StaticMultiSelectDropdownProperty; export declare const DynamicPropsValue: 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; 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; 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; options: z.ZodObject<{ disabled: z.ZodOptional; placeholder: z.ZodOptional; options: z.ZodArray>; }, z.core.$strip>; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>]>>; export type DynamicPropsValue = Record; export declare const DynamicProperties: z.ZodObject<{ type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; refreshers: z.ZodArray; }, z.core.$strip>; export type DynamicProperties = BasePropertySchema & { auth: PieceAuth; props: DynamicPropertiesOptions; refreshers: string[]; } & TPropertyValue; type DynamicPropertiesOptions = (propsValue: Record & { auth?: AppConnectionValueForAuthProperty>; }, ctx: PropertyContext) => Promise; export {}; //# sourceMappingURL=dynamic-prop.d.ts.map