import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetProjectTraceRequest = {
    /**
     * The project ID
     */
    projectId: string;
    /**
     * The Vercel CLI request ID associated with the trace
     */
    requestId: 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;
};
export type GetProjectTraceResources = {
    name: string;
    attributes: {
        [k: string]: string;
    };
};
export type Library = {
    name: string;
    version?: string | undefined;
};
export type GetProjectTraceStatus = {
    code: number;
    message?: string | undefined;
};
export type GetProjectTraceEvents = {
    name: string;
    timestamp: Array<number>;
    attributes: {
        [k: string]: any;
    };
};
export type Spans = {
    name: string;
    kind: number;
    resource: string;
    library: Library;
    spanId: string;
    parentSpanId?: string | undefined;
    status: GetProjectTraceStatus;
    traceState?: string | undefined;
    traceFlags: number;
    attributes: {
        [k: string]: any;
    };
    links: Array<{
        [k: string]: any;
    }>;
    events: Array<GetProjectTraceEvents>;
    startTime: Array<number>;
    endTime: Array<number>;
    duration: Array<number>;
};
export type Trace = {
    traceId: string;
    resources?: Array<GetProjectTraceResources> | undefined;
    spans: Array<Spans>;
    rootSpanId?: string | undefined;
};
export type GetProjectTraceResponseBody = {
    trace: Trace;
};
/** @internal */
export type GetProjectTraceRequest$Outbound = {
    projectId: string;
    requestId: string;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const GetProjectTraceRequest$outboundSchema: z.ZodType<GetProjectTraceRequest$Outbound, z.ZodTypeDef, GetProjectTraceRequest>;
export declare function getProjectTraceRequestToJSON(getProjectTraceRequest: GetProjectTraceRequest): string;
/** @internal */
export declare const GetProjectTraceResources$inboundSchema: z.ZodType<GetProjectTraceResources, z.ZodTypeDef, unknown>;
export declare function getProjectTraceResourcesFromJSON(jsonString: string): SafeParseResult<GetProjectTraceResources, SDKValidationError>;
/** @internal */
export declare const Library$inboundSchema: z.ZodType<Library, z.ZodTypeDef, unknown>;
export declare function libraryFromJSON(jsonString: string): SafeParseResult<Library, SDKValidationError>;
/** @internal */
export declare const GetProjectTraceStatus$inboundSchema: z.ZodType<GetProjectTraceStatus, z.ZodTypeDef, unknown>;
export declare function getProjectTraceStatusFromJSON(jsonString: string): SafeParseResult<GetProjectTraceStatus, SDKValidationError>;
/** @internal */
export declare const GetProjectTraceEvents$inboundSchema: z.ZodType<GetProjectTraceEvents, z.ZodTypeDef, unknown>;
export declare function getProjectTraceEventsFromJSON(jsonString: string): SafeParseResult<GetProjectTraceEvents, SDKValidationError>;
/** @internal */
export declare const Spans$inboundSchema: z.ZodType<Spans, z.ZodTypeDef, unknown>;
export declare function spansFromJSON(jsonString: string): SafeParseResult<Spans, SDKValidationError>;
/** @internal */
export declare const Trace$inboundSchema: z.ZodType<Trace, z.ZodTypeDef, unknown>;
export declare function traceFromJSON(jsonString: string): SafeParseResult<Trace, SDKValidationError>;
/** @internal */
export declare const GetProjectTraceResponseBody$inboundSchema: z.ZodType<GetProjectTraceResponseBody, z.ZodTypeDef, unknown>;
export declare function getProjectTraceResponseBodyFromJSON(jsonString: string): SafeParseResult<GetProjectTraceResponseBody, SDKValidationError>;
//# sourceMappingURL=getprojecttraceop.d.ts.map