import { type Result } from "@webiny/feature/api"; import type { IBackgroundTaskSettings } from "../../../api/domain/BackgroundTaskSettings.js"; import type { BackgroundTaskModelNotFoundError, BackgroundTaskNotAuthorizedError, BackgroundTaskPersistenceError, BackgroundTaskValidationError } from "../../../api/domain/errors.js"; export interface IUpdateBackgroundTaskSettingsInput { retentionDays?: number; } type IError = BackgroundTaskModelNotFoundError | BackgroundTaskPersistenceError | BackgroundTaskNotAuthorizedError | BackgroundTaskValidationError; export interface IUpdateBackgroundTaskSettingsUseCase { execute(input: IUpdateBackgroundTaskSettingsInput): Promise>; } export declare const UpdateBackgroundTaskSettingsUseCase: import("@webiny/di").Abstraction; export declare namespace UpdateBackgroundTaskSettingsUseCase { type Interface = IUpdateBackgroundTaskSettingsUseCase; type Input = IUpdateBackgroundTaskSettingsInput; type Error = IError; } type IRepositoryError = BackgroundTaskModelNotFoundError | BackgroundTaskPersistenceError; export interface IUpdateBackgroundTaskSettingsRepository { execute(input: IUpdateBackgroundTaskSettingsInput): Promise>; } export declare const UpdateBackgroundTaskSettingsRepository: import("@webiny/di").Abstraction; export declare namespace UpdateBackgroundTaskSettingsRepository { type Interface = IUpdateBackgroundTaskSettingsRepository; type Error = IRepositoryError; } export {};