import type { Unsubscribe } from '@luvio/engine';
export type OneStoreNativeCallbackValue = OneStoreNativeCallbackData | OneStoreNativeCallbackError;
export type OneStoreNativeCallbackData = {
    data: any | undefined;
    error?: undefined;
};
export type OneStoreNativeCallbackError = {
    data?: undefined;
    error: string;
};
export declare function importOneStoreAdapterModule(specifier: string): Promise<OneStoreAdapterModule>;
declare class OneStoreAdapterModule {
    module: any;
    constructor(module: any);
    invoke<Config>(adapterOrCommandName: string, config: Config): Promise<OneStoreNativeCallbackValue>;
    subscribe<Config>(adapterOrCommandName: string, config: Config, callback: (value: OneStoreNativeCallbackValue) => void): Promise<Unsubscribe | undefined>;
    private isCommandWireAdapter;
    private hasInvoke;
    private hasSubscribe;
}
export {};
