import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { CreateTriggerOptions, Trigger, UpdateTriggerOptions, DeleteTriggerByAppIdAndKeyOptions, GetTriggerByAppIdAndKeyIdentifiers, GetTriggerByAppIdAndKeyOptions, GetTriggerByAppIdAndKeyResponse, ResolveTriggersOptions, ResolveTriggersResponse, GetTriggerDynamicSchemaOptions, GetDynamicSchemaResponse, GetIdentitiesSchemaResponse, ResultsQueryBuilder, TriggerQuery, typedQueryTriggers } from './index.typings.js'; export { AccountInfo, ActionEvent, BooleanInputOptions, BulkCreateWhitelistTriggerAppsRequest, BulkCreateWhitelistTriggerAppsResponse, BulkDeleteWhitelistTriggerAppsRequest, BulkDeleteWhitelistTriggerAppsResponse, CommonQueryWithEntityContext, CreateTriggerRequest, CreateTriggerResponse, CursorPaging, Cursors, DebounceConfiguration, DeleteTriggerByAppIdAndKeyRequest, DeleteTriggerByAppIdAndKeyResponse, DeleteTriggerRequest, DeleteTriggerResponse, DomainEvent, DomainEventBodyOneOf, DomainEventOptions, DynamicFieldKey, Empty, EntityCreatedEvent, EntityDeletedEvent, EntitySelector, EntityUpdatedEvent, ExperimentActionType, ExperimentActionTypeWithLiterals, FieldKeyType, FieldKeyTypeWithLiterals, Filter, FilterFieldKeyOneOf, GetIdentitiesSchemaRequest, GetLatestTriggerRequest, GetLatestTriggerResponse, GetRuntimeTriggerRequest, GetRuntimeTriggerResponse, GetTriggerByAppIdAndKeyRequest, GetTriggerDynamicSchemaRequest, GetTriggerRequest, GetTriggerResponse, IdentificationData, IdentificationDataIdOneOf, ImplementedMethods, ListMarketplaceAndWhitelistTriggersRequest, ListMarketplaceAndWhitelistTriggersResponse, ListWhitelistTriggerAppsRequest, ListWhitelistTriggerAppsResponse, Maturity, MaturityWithLiterals, MessageEnvelope, Metadata, MigrateComponentToTriggerRequest, MigrateComponentToTriggerResponse, NumberInputOptions, Paging, PagingMetadataV2, QueryRuntimeTriggersRequest, QueryRuntimeTriggersResponse, QueryTriggersRequest, QueryTriggersResponse, QueryV2, QueryV2PagingMethodOneOf, RemoveComponentDataRequest, RemoveComponentDataResponse, ResolveTriggersRequest, RestoreInfo, ResultsQueryResult, RetryExperimentCreation, Segment, SegmentWithLiterals, SelectedFilterOptions, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceOptionsOneOf, SourceType, SourceTypeWithLiterals, StaticItemValue, StaticItems, TimeUnit, TimeUnitWithLiterals, TriggerQuerySpec, TriggerSpecInfo, Type, TypeWithLiterals, UpdateTriggerComponentRequest, UpdateTriggerComponentResponse, UpdateTriggerMaturityRequest, UpdateTriggerMaturityResponse, UpdateTriggerRequest, UpdateTriggerResponse, UserInput, UserInputInputOptionsOneOf, ValueInput, ValueInputInputOptionsOneOf, ValueInputType, ValueInputTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createTrigger$1(httpClient: HttpClient): CreateTriggerSignature; interface CreateTriggerSignature { /** * Creates a trigger for the specified app. Once created, users can [create automations](https://support.wix.com/en/wix-automations-7067897) that run when this trigger occurs. * * Learn more about [triggers](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/about-triggers). * * > **Note:** You can only create triggers for [apps you own or collaborate on](https://dev.wix.com/docs/build-apps/develop-your-app/app-dashboard-setup/manage-collaborators). * @returns Created trigger. */ (options?: NonNullablePaths): Promise>; } declare function updateTrigger$1(httpClient: HttpClient): UpdateTriggerSignature; interface UpdateTriggerSignature { /** * Updates the specified trigger for the specified app. * * After the trigger is updated, it only contains the values specified in the request. Earlier values are replaced. * @param - Trigger ID. * @returns Updated trigger. */ (_id: string, options?: NonNullablePaths): Promise>; } declare function deleteTriggerByAppIdAndKey$1(httpClient: HttpClient): DeleteTriggerByAppIdAndKeySignature; interface DeleteTriggerByAppIdAndKeySignature { /** * Deletes a trigger from the specified app. * * > **Note**: [Automations that have the deleted trigger](https://support.wix.com/en/article/wix-automations-creating-an-automation-with-the-new-builder#step-2-choose-a-trigger) no longer run. * @param - ID of the [app that created the trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/add-a-trigger-to-your-app). */ (triggerAppId: string, options: NonNullablePaths): Promise; } declare function getTriggerByAppIdAndKey$1(httpClient: HttpClient): GetTriggerByAppIdAndKeySignature; interface GetTriggerByAppIdAndKeySignature { /** * Retrieves the specified trigger. */ (identifiers: NonNullablePaths, options?: GetTriggerByAppIdAndKeyOptions): Promise>; } declare function resolveTriggers$1(httpClient: HttpClient): ResolveTriggersSignature; interface ResolveTriggersSignature { /** * Returns triggers that are installed on the site and have sufficient maturity. */ (options?: ResolveTriggersOptions): Promise>; } declare function getTriggerDynamicSchema$1(httpClient: HttpClient): GetTriggerDynamicSchemaSignature; interface GetTriggerDynamicSchemaSignature { /** * Retrieves a trigger's payload schema with the user's [filter field](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/triggers/filter-fields) selections applied. * * Learn more about [the trigger payload schema](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/the-trigger-payload-schema). * @param - ID of the [app that created the trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/add-a-trigger-to-your-app). */ (appId: string, options?: NonNullablePaths): Promise; } declare function getIdentitiesSchema$1(httpClient: HttpClient): GetIdentitiesSchemaSignature; interface GetIdentitiesSchemaSignature { /** * Returns trigger identities schema */ (): Promise; } declare function customQueryTriggers(httpClient: HttpClient): { (): ResultsQueryBuilder; (query: TriggerQuery): ReturnType; }; declare const createTrigger: MaybeContext & typeof createTrigger$1>; declare const updateTrigger: MaybeContext & typeof updateTrigger$1>; declare const deleteTriggerByAppIdAndKey: MaybeContext & typeof deleteTriggerByAppIdAndKey$1>; declare const getTriggerByAppIdAndKey: MaybeContext & typeof getTriggerByAppIdAndKey$1>; declare const resolveTriggers: MaybeContext & typeof resolveTriggers$1>; declare const getTriggerDynamicSchema: MaybeContext & typeof getTriggerDynamicSchema$1>; declare const getIdentitiesSchema: MaybeContext & typeof getIdentitiesSchema$1>; declare const queryTriggers: MaybeContext & typeof customQueryTriggers>; export { CreateTriggerOptions, DeleteTriggerByAppIdAndKeyOptions, GetDynamicSchemaResponse, GetIdentitiesSchemaResponse, GetTriggerByAppIdAndKeyIdentifiers, GetTriggerByAppIdAndKeyOptions, GetTriggerByAppIdAndKeyResponse, GetTriggerDynamicSchemaOptions, ResolveTriggersOptions, ResolveTriggersResponse, ResultsQueryBuilder, Trigger, TriggerQuery, UpdateTriggerOptions, createTrigger, deleteTriggerByAppIdAndKey, getIdentitiesSchema, getTriggerByAppIdAndKey, getTriggerDynamicSchema, queryTriggers, resolveTriggers, updateTrigger };