/** * Identifier type that can be either a numeric ID or a string name. * Used to identify streams, topics, partitions, and other resources. */ export type Id = number | string; /** * Serializes an identifier (numeric or string) to a Buffer for wire protocol. * * @param id - Numeric ID or string name to serialize * @returns Buffer containing the serialized identifier * @throws Error if the identifier type is not supported */ export declare const serializeIdentifier: (id: Id) => Buffer; //# sourceMappingURL=identifier.utils.d.ts.map