import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Bucket grain actually applied by the planner.
 */
export declare const EffectiveGrain: {
    readonly Minute: "minute";
    readonly Hour: "hour";
    readonly Day: "day";
};
/**
 * Bucket grain actually applied by the planner.
 */
export type EffectiveGrain = ClosedEnum<typeof EffectiveGrain>;
/**
 * ISO 4217 currency code for cost fields. Always `USD` today.
 */
export declare const ResponseMetaCurrency: {
    readonly Usd: "USD";
};
/**
 * ISO 4217 currency code for cost fields. Always `USD` today.
 */
export type ResponseMetaCurrency = ClosedEnum<typeof ResponseMetaCurrency>;
export type ResponseMeta = {
    /**
     * Bucket grain actually applied by the planner.
     */
    effectiveGrain?: EffectiveGrain | undefined;
    /**
     * Number of rows in `data`. Cheap hint for clients that paginate
     *
     * @remarks
     *  client-side; mirrors `len(data)`.
     */
    rowCount?: number | undefined;
    /**
     * Stable identifier for this query. Forward in support tickets so
     *
     * @remarks
     *  server logs can be correlated. Also returned in the
     *  `X-Request-Id` response header.
     */
    requestId?: string | undefined;
    /**
     * ISO 4217 currency code for cost fields. Always `USD` today.
     */
    currency?: ResponseMetaCurrency | undefined;
    /**
     * Non-fatal warnings about the response. May contain `totals_unavailable` when totals were requested but failed.
     */
    warnings?: Array<string> | undefined;
};
/** @internal */
export declare const EffectiveGrain$inboundSchema: z.ZodNativeEnum<typeof EffectiveGrain>;
/** @internal */
export declare const ResponseMetaCurrency$inboundSchema: z.ZodNativeEnum<typeof ResponseMetaCurrency>;
/** @internal */
export declare const ResponseMeta$inboundSchema: z.ZodType<ResponseMeta, z.ZodTypeDef, unknown>;
export declare function responseMetaFromJSON(jsonString: string): SafeParseResult<ResponseMeta, SDKValidationError>;
//# sourceMappingURL=responsemeta.d.ts.map