/**
 * @packageDocumentation
 *
 * A transformer that can transform Duration to an ISO string and back.
 */
import { TypedTransformer } from './TypedTransformer.cjs';
/**
 * A transformer that converts a Duration to an ISO string and back.
 */
export declare class DurationTransformer extends TypedTransformer<moment.Duration, string> {
    /**
     * An id of the transformer.
     *
     * @returns The id of the transformer.
     */
    get id(): string;
    /**
     * Checks if the value is a Duration.
     *
     * @param value - The value to check.
     * @returns True if the value is a Duration, false otherwise.
     */
    canTransform(value: unknown): value is moment.Duration;
    /**
     * Restores the value from a string.
     *
     * @param transformedValue - The string to restore the value from.
     * @returns The restored value.
     */
    restoreValue(transformedValue: string): moment.Duration;
    /**
     * Transforms the value to a string.
     *
     * @param value - The value to transform.
     * @returns The transformed value.
     */
    transformValue(value: moment.Duration): string;
}
