import { BodyEncoder } from '../../../api/converter';
export declare class StringConverter implements BodyEncoder<string>, BodyEncoder<string> {
    encoding: string;
    private static _ascii;
    constructor(encoding?: string);
    encode(value: string): Uint8Array;
    decode(value: Uint8Array): string;
    /**
     * Get ascii instance
     * @deprecated use constructor instead
     */
    static instance(): StringConverter;
    /**
     * Get ascii instance
     * @deprecated use constructor instead
     */
    static ascii(): StringConverter;
}
