import { BasePropertySchema, TPropertyValue } from "../common"; import { DropdownState } from "./common"; import { AppConnectionValueForAuthProperty, PropertyContext } from "../../../context"; import { z } from "zod"; import { PropertyType } from "../property-type"; import { PieceAuthProperty } from "../../authentication"; type DynamicDropdownOptions = (propsValue: Record & { auth?: PieceAuth extends undefined ? undefined : AppConnectionValueForAuthProperty>; }, ctx: PropertyContext) => Promise>; export declare const DropdownProperty: z.ZodObject<{ refreshers: z.ZodArray; type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>; export type DropdownProperty = BasePropertySchema & { /** * A dummy property used to infer {@code PieceAuth} type */ auth: PieceAuth; refreshers: string[]; refreshOnSearch?: boolean; options: DynamicDropdownOptions; } & TPropertyValue; export declare const MultiSelectDropdownProperty: z.ZodObject<{ refreshers: z.ZodArray; type: z.ZodLiteral; required: z.ZodBoolean; defaultValue: z.ZodOptional; displayName: z.ZodString; description: z.ZodOptional; }, z.core.$strip>; export type MultiSelectDropdownProperty = BasePropertySchema & { /** * A dummy property used to infer {@code PieceAuth} type */ auth: PieceAuth; refreshers: string[]; refreshOnSearch?: boolean; options: DynamicDropdownOptions; } & TPropertyValue; export {}; //# sourceMappingURL=dropdown-prop.d.ts.map