import type { GatewayDeployment } from './GatewayApiKey'; export interface GatewayKeyLocatorPayload { owner: string; keyId: string; deployment: GatewayDeployment; } export interface GatewayKeyLocatorCodec { encode(payload: GatewayKeyLocatorPayload): string; decode(locator: string): GatewayKeyLocatorPayload | undefined; } export interface GatewayKeyLocatorSecret { kid: string; secret: string; } export interface AesGatewayKeyLocatorCodecOptions { active: GatewayKeyLocatorSecret; previous?: GatewayKeyLocatorSecret[]; } export declare class AesGatewayKeyLocatorCodec implements GatewayKeyLocatorCodec { private readonly active; private readonly ring; constructor(secretOrOptions: string | AesGatewayKeyLocatorCodecOptions); encode(payload: GatewayKeyLocatorPayload): string; decode(locator: string): GatewayKeyLocatorPayload | undefined; } export declare function createGatewayKeyLocator(owner: string, deployment: GatewayDeployment, codec: GatewayKeyLocatorCodec): string;