/** * @license * Copyright Borda All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://borda.dev/license */ export interface BordaSubscription { unsubscribe: () => void; } export declare function publish(key: string, value?: T): void; export declare function subscribe(key: string, handler: (arg: T) => void): BordaSubscription; export declare function unsubscribe(key: string): void;