import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type RestoreRedirectsRequestBody = {
    name?: string | undefined;
    /**
     * The redirects to restore. The source of the redirect is used to match the redirect to restore.
     */
    redirects: Array<string>;
};
export type RestoreRedirectsRequest = {
    projectId: string;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
    requestBody?: RestoreRedirectsRequestBody | undefined;
};
export type RestoreRedirectsVersion = {
    /**
     * The unique identifier for the version.
     */
    id: string;
    /**
     * The key of the version. The key may be duplicated across versions if the contents are the same as a different version.
     */
    key: string;
    lastModified: number;
    createdBy: string;
    /**
     * Optional name for the version. If not provided, defaults to an ISO timestamp string.
     */
    name?: string | undefined;
    /**
     * Whether this version has not been promoted to production yet and is not serving end users.
     */
    isStaging?: boolean | undefined;
    /**
     * Whether this version is currently live in production.
     */
    isLive?: boolean | undefined;
    /**
     * The number of redirects in this version.
     */
    redirectCount?: number | undefined;
    /**
     * The staging link for previewing redirects in this version.
     */
    alias?: string | undefined;
};
export type RestoreRedirectsResponseBody = {
    version: RestoreRedirectsVersion;
    restored: Array<string>;
    failedToRestore: Array<string>;
};
/** @internal */
export type RestoreRedirectsRequestBody$Outbound = {
    name?: string | undefined;
    redirects: Array<string>;
};
/** @internal */
export declare const RestoreRedirectsRequestBody$outboundSchema: z.ZodType<RestoreRedirectsRequestBody$Outbound, z.ZodTypeDef, RestoreRedirectsRequestBody>;
export declare function restoreRedirectsRequestBodyToJSON(restoreRedirectsRequestBody: RestoreRedirectsRequestBody): string;
/** @internal */
export type RestoreRedirectsRequest$Outbound = {
    projectId: string;
    teamId?: string | undefined;
    slug?: string | undefined;
    RequestBody?: RestoreRedirectsRequestBody$Outbound | undefined;
};
/** @internal */
export declare const RestoreRedirectsRequest$outboundSchema: z.ZodType<RestoreRedirectsRequest$Outbound, z.ZodTypeDef, RestoreRedirectsRequest>;
export declare function restoreRedirectsRequestToJSON(restoreRedirectsRequest: RestoreRedirectsRequest): string;
/** @internal */
export declare const RestoreRedirectsVersion$inboundSchema: z.ZodType<RestoreRedirectsVersion, z.ZodTypeDef, unknown>;
export declare function restoreRedirectsVersionFromJSON(jsonString: string): SafeParseResult<RestoreRedirectsVersion, SDKValidationError>;
/** @internal */
export declare const RestoreRedirectsResponseBody$inboundSchema: z.ZodType<RestoreRedirectsResponseBody, z.ZodTypeDef, unknown>;
export declare function restoreRedirectsResponseBodyFromJSON(jsonString: string): SafeParseResult<RestoreRedirectsResponseBody, SDKValidationError>;
//# sourceMappingURL=restoreredirectsop.d.ts.map