import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { CustomMappingError } from "./custommappingerror.js";
import { ProviderError } from "./providererror.js";
/**
 * The request URL data
 */
export type Url = {
    /**
     * The request URL hostname
     */
    hostname?: string | null | undefined;
    /**
     * The request path
     */
    path?: string | null | undefined;
    /**
     * The request query parameters
     */
    queryParams?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * The request URL
     */
    url?: string | null | undefined;
};
/**
 * The advanced log request data
 */
export type RequestT = {
    body?: any | null | undefined;
    headers?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * The request ID
     */
    id?: string | null | undefined;
    /**
     * The request method
     */
    method?: string | null | undefined;
    /**
     * The request URL data
     */
    url?: Url | null | undefined;
};
/**
 * The advanced log response data
 */
export type StepLogResponse = {
    body?: any | null | undefined;
    /**
     * The custom mapping errors
     */
    customMappingErrors?: Array<CustomMappingError> | null | undefined;
    headers?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * The provider errors
     */
    providerErrors?: Array<ProviderError> | null | undefined;
    /**
     * The response status code
     */
    statusCode?: number | null | undefined;
};
export type StepLog = {
    /**
     * The account ID of the request
     */
    accountId?: string | null | undefined;
    /**
     * The requested action
     */
    action?: string | null | undefined;
    /**
     * The requested child resource
     */
    childResource?: string | null | undefined;
    /**
     * The request duration in milliseconds
     */
    duration?: number | null | undefined;
    /**
     * The request end time ISO8601 date string
     */
    endTime?: Date | null | undefined;
    /**
     * The requested HTTP method
     */
    httpMethod?: string | null | undefined;
    /**
     * The provider request ID
     */
    id?: string | null | undefined;
    /**
     * The asynchronous worker flag
     */
    isWorker?: boolean | null | undefined;
    /**
     * The requested path
     */
    path?: string | null | undefined;
    /**
     * The project ID of the request
     */
    projectId?: string | null | undefined;
    /**
     * The requested provider
     */
    provider?: string | null | undefined;
    /**
     * The advanced log request data
     */
    request?: RequestT | null | undefined;
    /**
     * The request ID
     */
    requestId?: string | null | undefined;
    /**
     * The requested resource
     */
    resource?: string | null | undefined;
    /**
     * The advanced log response data
     */
    response?: StepLogResponse | null | undefined;
    /**
     * The requested service
     */
    service?: string | null | undefined;
    /**
     * The requests source IPV4 ip address
     */
    sourceIp?: string | null | undefined;
    /**
     * The request start time ISO8601 date string
     */
    startTime?: Date | null | undefined;
    /**
     * The requests response status code
     */
    status?: number | null | undefined;
    /**
     * The requested sub resource
     */
    subResource?: string | null | undefined;
    /**
     * The request success flag
     */
    success?: boolean | null | undefined;
    /**
     * The requested URL
     */
    url?: string | null | undefined;
};
/** @internal */
export declare const Url$inboundSchema: z.ZodType<Url, z.ZodTypeDef, unknown>;
export declare function urlFromJSON(jsonString: string): SafeParseResult<Url, SDKValidationError>;
/** @internal */
export declare const RequestT$inboundSchema: z.ZodType<RequestT, z.ZodTypeDef, unknown>;
export declare function requestFromJSON(jsonString: string): SafeParseResult<RequestT, SDKValidationError>;
/** @internal */
export declare const StepLogResponse$inboundSchema: z.ZodType<StepLogResponse, z.ZodTypeDef, unknown>;
export declare function stepLogResponseFromJSON(jsonString: string): SafeParseResult<StepLogResponse, SDKValidationError>;
/** @internal */
export declare const StepLog$inboundSchema: z.ZodType<StepLog, z.ZodTypeDef, unknown>;
export declare function stepLogFromJSON(jsonString: string): SafeParseResult<StepLog, SDKValidationError>;
//# sourceMappingURL=steplog.d.ts.map