///
import { Stream } from "stream";
/**
* Returns a collectionId and partitionKey from a provided state key. If the input is not in the expected format,
* undefined is returned.
*
* Only the following inputs are acceptable:
* - "partitionKey"
* - "@collection/partitionKey"
*
* @param inputKey A state key in the format @collectionId/partitionKey
*/
export declare function getCollectionInfo(key: string): {
collectionId?: string;
partitionKey: string;
};
/**
* Converts a readable stream to a string. Stores coverted data in chunks,
* and on completion joins chunks together into a single string.
* @param readableStream input to be converted to string
*/
export declare function streamToString(readableStream: Stream): Promise;