import { Network } from 'fabric-network';
import { Observable } from 'rxjs';
import type { Commit } from '../types';
export declare const submit: (fcn: string, args: string[], options: {
    network: Network;
}) => Promise<Record<string, Commit> & {
    error?: any;
    status?: string;
    message?: string;
}>;
export declare const submit$: (fcn: string, args: string[], options: {
    network: Network;
}) => Observable<Record<string, Commit> | {
    error?: any;
    status?: string;
    message?: string;
}>;
