import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import { TextFilterMethod } from "../../filter/v2/filter.js"; import { Condition } from "./execution.js"; export declare const protobufPackage = "zitadel.action.v2"; export declare enum TargetFieldName { TARGET_FIELD_NAME_UNSPECIFIED = 0, TARGET_FIELD_NAME_ID = 1, TARGET_FIELD_NAME_CREATED_DATE = 2, TARGET_FIELD_NAME_CHANGED_DATE = 3, TARGET_FIELD_NAME_NAME = 4, TARGET_FIELD_NAME_TARGET_TYPE = 5, TARGET_FIELD_NAME_URL = 6, TARGET_FIELD_NAME_TIMEOUT = 7, TARGET_FIELD_NAME_INTERRUPT_ON_ERROR = 8, UNRECOGNIZED = -1 } export declare function targetFieldNameFromJSON(object: any): TargetFieldName; export declare function targetFieldNameToJSON(object: TargetFieldName): string; export declare enum ExecutionType { EXECUTION_TYPE_UNSPECIFIED = 0, EXECUTION_TYPE_REQUEST = 1, EXECUTION_TYPE_RESPONSE = 2, EXECUTION_TYPE_EVENT = 3, EXECUTION_TYPE_FUNCTION = 4, UNRECOGNIZED = -1 } export declare function executionTypeFromJSON(object: any): ExecutionType; export declare function executionTypeToJSON(object: ExecutionType): string; export declare enum ExecutionFieldName { EXECUTION_FIELD_NAME_UNSPECIFIED = 0, EXECUTION_FIELD_NAME_ID = 1, EXECUTION_FIELD_NAME_CREATED_DATE = 2, EXECUTION_FIELD_NAME_CHANGED_DATE = 3, UNRECOGNIZED = -1 } export declare function executionFieldNameFromJSON(object: any): ExecutionFieldName; export declare function executionFieldNameToJSON(object: ExecutionFieldName): string; export interface ExecutionSearchFilter { /** Filter for executions that are executed when certain conditions are met. */ inConditionsFilter?: InConditionsFilter | undefined; /** Filter for executions of a certain type. */ executionTypeFilter?: ExecutionTypeFilter | undefined; /** Filter for executions that include a specific target. */ targetFilter?: TargetFilter | undefined; } export interface InConditionsFilter { /** Defines the conditions to query for. */ conditions: Condition[]; } export interface ExecutionTypeFilter { /** Defines the type to query for. */ executionType: ExecutionType; } export interface TargetFilter { /** Defines the id of the target that needs to be part of the execution. */ targetId: string; } export interface TargetSearchFilter { /** Filter for targets with a specific name. */ targetNameFilter?: TargetNameFilter | undefined; /** Filter for targets with specific ids. */ inTargetIdsFilter?: InTargetIDsFilter | undefined; } export interface TargetNameFilter { /** Defines the name of the target to query for. */ targetName: string; /** Defines which text comparison method used for the name query. */ method: TextFilterMethod; } export interface InTargetIDsFilter { /** Defines the ids to query for. */ targetIds: string[]; } export declare const ExecutionSearchFilter: MessageFns; export declare const InConditionsFilter: MessageFns; export declare const ExecutionTypeFilter: MessageFns; export declare const TargetFilter: MessageFns; export declare const TargetSearchFilter: MessageFns; export declare const TargetNameFilter: MessageFns; export declare const InTargetIDsFilter: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {};