/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { GlobalFieldKey } from "../schema-stored";
import { Brand } from "../../util";
/**
 * Symbol which can be used to lookup a global field.
 * Using a symbol here avoids the need to use the full string version of the key,
 * and avoids the possibility of colliding with local field keys.
 *
 * Must only be produced using {@link symbolFromKey}.
 * @alpha
 */
export declare type GlobalFieldKeySymbol = Brand<symbol, "GlobalFieldKeySymbol">;
/**
 * @returns a symbol to use for `key`.
 * @alpha
 */
export declare function symbolFromKey(key: GlobalFieldKey): GlobalFieldKeySymbol;
/**
 * @returns the original {@link GlobalFieldKey} for the symbol.
 * @alpha
 */
export declare function keyFromSymbol(key: GlobalFieldKeySymbol): GlobalFieldKey;
/**
 * @returns true iff `key` is a {@link GlobalFieldKeySymbol}.
 * @alpha
 */
export declare function symbolIsFieldKey(key: symbol): key is GlobalFieldKeySymbol;
//# sourceMappingURL=globalFieldKeySymbol.d.ts.map