/** * Effect types supported by background segmentation processor */ export declare enum ProcessorEffect { BLUR = "blur", IMAGE_REPLACEMENT = "image-replacement", COLOR_REPLACEMENT = "color-replacement" } /** * Blur strength levels for background blur effect. */ export declare enum BlurStrength { NONE = "none", LOW = "low", MEDIUM = "medium", HIGH = "high" } /** * Model types supported by background segmentation processor */ export declare enum ModelType { SELFIE_GENERAL = "selfie_general", SELFIE_MULTICLASS = "selfie_multiclass" } /** * Configuration for background segmentation processor with mutually exclusive effect properties. */ export type BackgroundSegmentationVideoFrameProcessorConfig = { type: ProcessorEffect.BLUR; blurStrength?: BlurStrength; replacementImageURL?: never; replacementColor?: never; } | { type: ProcessorEffect.IMAGE_REPLACEMENT; blurStrength?: never; replacementImageURL: string; replacementColor?: never; } | { type: ProcessorEffect.COLOR_REPLACEMENT; blurStrength?: never; replacementImageURL?: never; replacementColor: string; };