import { BaseState } from './base-state';
import { StateFactory } from './interface';
/**
 * Represents a resource state for text responses, such as text/plain, text/csv.
 * text/html, text/csv.
 */
export declare class TextState extends BaseState<string> {
    serializeBody(): string;
    clone(): TextState;
}
/**
 * Turns a HTTP response into a TextState
 */
export declare const factory: StateFactory<string>;
