export = FlowToken; /** * @typedef {import('./Image')} Image * @typedef {import('../manager/flow')} ManagerFlow */ /** * The FlowToken class can be used to create a Tag in the Flow Editor. */ declare class FlowToken { id: string; opts: { type: string; title: string; }; /** * Unregister the token. * This is a shorthand method for {@link ManagerFlow#unregisterToken}. * @returns {Promise} */ unregister(): Promise; /** * Set or update the value of the token. * @param {string|number|boolean|Image} value The value of the token, should be of the same type as defined in the Token instance * @returns {Promise} */ setValue(value: string | number | boolean | Image): Promise; } declare namespace FlowToken { export { Image, ManagerFlow }; } type Image = import('./Image'); type ManagerFlow = import('../manager/flow');