import { z } from 'zod'; import { BrowserforcePlugin } from '../../../plugin.js'; export declare const capacitySchema: z.ZodObject<{ capacityModel: z.ZodOptional>; statusField: z.ZodOptional; valuesForInProgress: z.ZodOptional>; checkAgentCapacityOnReopenedWorkItems: z.ZodOptional; checkAgentCapacityOnReassignedWorkItems: z.ZodOptional; }, z.core.$strip>; export declare const CAPACITY_MODEL_SELECTOR = "select[id$=\":capacityModelSection:editCapacityModel\"]"; export declare const OWNER_CHANGE_CAPACITY_SELECTOR = "input[name*=\":ownerChangeCapacityCheck\"]"; export declare const STATUS_FIELD_SELECTOR = "select[id$=\":statusFieldSection:editCapacityModel\"]"; export declare const STATUS_CHANGE_CAPACITY_SELECTOR = "input[name*=\":statusChangeCapacityCheck\"]"; type ServiceChannel = { serviceChannelDeveloperName: string; capacity: CapacityConfig; }; export type CapacityConfig = { capacityModel?: 'TabBased' | 'StatusBased'; statusField?: string; valuesForInProgress?: string[]; checkAgentCapacityOnReopenedWorkItems?: boolean; checkAgentCapacityOnReassignedWorkItems?: boolean; }; export declare class Capacity extends BrowserforcePlugin { retrieve(definition: ServiceChannel): Promise; diff(state?: CapacityConfig, definition?: CapacityConfig): CapacityConfig | undefined; apply(config: ServiceChannel): Promise; /** In-Progress, Paused and Completed lists: values move through Paused to reach either end. */ private setValuesForInProgress; /** Former In-Progress and Completed lists. */ private setLegacyValuesForInProgress; } export {};