import { HttpStep, IHttpStep } from '../../HttpStep.js';
export declare const DeleteCookieStepKind = "HttpAction#DeleteCookie";
/**
 * A step allowing to delete a cookie for the given configuration.
 * This step does not require an input.
 */
export interface IDeleteCookieStep extends IHttpStep {
    kind: typeof DeleteCookieStepKind;
    /**
     * The URL associated with the cookie. When not set it uses the request URL or the request URL of the last redirect.
     */
    url?: string;
    /**
     * Name of the cookie to remove.
     * When not set it removes all cookies for the URL.
     */
    name?: string;
}
export declare class DeleteCookieStep extends HttpStep {
    kind: string;
    /**
     * The URL associated with the cookie. When not set it uses the request URL or the request URL of the last redirect.
     */
    url?: string;
    /**
     * Name of the cookie to remove.
     * When not set it removes all cookies for the URL.
     */
    name?: string;
    /**
     * @param name The name of the cookie
     * @param url Optionally, the URL of the cookie.
     */
    static byName(name: string, url?: string): DeleteCookieStep;
    static byUrl(url: string): DeleteCookieStep;
    /**
     * Creates the step from serialized schema.
     * @param init The serialized step values.
     */
    constructor(init: IDeleteCookieStep);
    /**
     * Creates an empty step.
     */
    constructor();
    new(init: IDeleteCookieStep): void;
    checkValidity(): boolean;
    toJSON(): IDeleteCookieStep;
}
//# sourceMappingURL=DeleteCookieStep.d.ts.map