/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
/**
 * Allocates a block of `count` consecutive IDs and returns the first ID in the block.
 * For convenience can be called with no parameters to allocate a single ID.
 * @alpha
 */
export declare type IdAllocator = (count?: number) => number;
export interface IdAllocationState {
    maxId: number;
}
/**
 * @alpha
 */
export declare function idAllocatorFromMaxId(maxId?: number | undefined): IdAllocator;
export declare function idAllocatorFromState(state: IdAllocationState): IdAllocator;
//# sourceMappingURL=idAllocator.d.ts.map