import { HttpStep, IHttpStep } from '../../HttpStep.js';
export declare const SubstringStepKind = "HttpAction#Substring";
/**
 * Returns the part of the string from the start index up to and excluding the end index, or to the end
 * of the string if no end index is supplied.
 * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring
 */
export interface ISubstringStep extends IHttpStep {
    kind: typeof SubstringStepKind;
    /**
     * The index of the first character to include in the returned substring.
     */
    start?: number;
    /**
     * The index of the first character to exclude from the returned substring.
     */
    end?: number;
}
/**
 * Returns the part of the string from the start index up to and excluding the end index, or to the end
 * of the string if no end index is supplied.
 * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring
 */
export declare class SubstringStep extends HttpStep {
    kind: string;
    /**
     * The index of the first character to include in the returned substring.
     */
    start?: number;
    /**
     * The index of the first character to exclude from the returned substring.
     */
    end?: number;
    constructor(start: number, end?: number);
    constructor(init: ISubstringStep);
    constructor();
    new(init: ISubstringStep): void;
    checkValidity(): boolean;
    toJSON(): ISubstringStep;
}
//# sourceMappingURL=SubstringStep.d.ts.map