import { StreamID } from './StreamID'; import { BrandedString } from '@streamr/utils'; export type StreamPartID = BrandedString<'StreamPartID'>; export declare function toStreamPartID(streamId: StreamID, streamPartition: number): StreamPartID | never; export declare class StreamPartIDUtils { static parse(streamPartIdAsStr: string): StreamPartID | never; static getStreamID(streamPartId: StreamPartID): StreamID; static getStreamPartition(streamPartId: StreamPartID): number; static getStreamIDAndPartition(streamPartId: StreamPartID): [StreamID, number]; static parseRawElements(str: string): [string, number | undefined]; }