import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { AccessTokenScope, AccessTokenScope$Outbound } from "./accesstokenscope.js";
export type AccessTokenInfo = {
    /**
     * Namespace streams based on the configured stream-level scope, which must be a prefix.
     *
     * @remarks
     * Stream name arguments will be automatically prefixed, and the prefix will be stripped when listing streams.
     */
    autoPrefixStreams?: boolean | undefined;
    /**
     * Expiration time in ISO 8601 format.
     *
     * @remarks
     * If not set, the expiration will be set to that of the requestor's token.
     */
    expiresAt?: string | null | undefined;
    /**
     * Access token ID.
     *
     * @remarks
     * It must be unique to the account and between 1 and 96 bytes in length.
     */
    id: string;
    scope: AccessTokenScope;
};
/** @internal */
export declare const AccessTokenInfo$inboundSchema: z.ZodType<AccessTokenInfo, z.ZodTypeDef, unknown>;
/** @internal */
export type AccessTokenInfo$Outbound = {
    auto_prefix_streams: boolean;
    expires_at?: string | null | undefined;
    id: string;
    scope: AccessTokenScope$Outbound;
};
/** @internal */
export declare const AccessTokenInfo$outboundSchema: z.ZodType<AccessTokenInfo$Outbound, z.ZodTypeDef, AccessTokenInfo>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccessTokenInfo$ {
    /** @deprecated use `AccessTokenInfo$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccessTokenInfo, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccessTokenInfo$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccessTokenInfo$Outbound, z.ZodTypeDef, AccessTokenInfo>;
    /** @deprecated use `AccessTokenInfo$Outbound` instead. */
    type Outbound = AccessTokenInfo$Outbound;
}
export declare function accessTokenInfoToJSON(accessTokenInfo: AccessTokenInfo): string;
export declare function accessTokenInfoFromJSON(jsonString: string): SafeParseResult<AccessTokenInfo, SDKValidationError>;
//# sourceMappingURL=accesstokeninfo.d.ts.map