import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../common";
export interface IStreamRegistryInterface extends utils.Interface {
    functions: {
        "createStream(string,string)": FunctionFragment;
        "deleteStream(string)": FunctionFragment;
        "exists(string)": FunctionFragment;
        "grantPermission(string,address,uint8)": FunctionFragment;
        "grantPublicPermission(string,uint8)": FunctionFragment;
        "revokePermission(string,address,uint8)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "createStream" | "deleteStream" | "exists" | "grantPermission" | "grantPublicPermission" | "revokePermission"): FunctionFragment;
    encodeFunctionData(functionFragment: "createStream", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "deleteStream", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "exists", values: [PromiseOrValue<string>]): string;
    encodeFunctionData(functionFragment: "grantPermission", values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>
    ]): string;
    encodeFunctionData(functionFragment: "grantPublicPermission", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
    encodeFunctionData(functionFragment: "revokePermission", values: [
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>
    ]): string;
    decodeFunctionResult(functionFragment: "createStream", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "deleteStream", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "exists", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "grantPermission", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "grantPublicPermission", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "revokePermission", data: BytesLike): Result;
    events: {};
}
export interface IStreamRegistry extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IStreamRegistryInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        createStream(streamIdPath: PromiseOrValue<string>, metadataJsonString: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        deleteStream(streamId: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        exists(streamId: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
        grantPermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        grantPublicPermission(streamId: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
        revokePermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    createStream(streamIdPath: PromiseOrValue<string>, metadataJsonString: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    deleteStream(streamId: PromiseOrValue<string>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    exists(streamId: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
    grantPermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    grantPublicPermission(streamId: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    revokePermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        createStream(streamIdPath: PromiseOrValue<string>, metadataJsonString: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        deleteStream(streamId: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
        exists(streamId: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
        grantPermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        grantPublicPermission(streamId: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
        revokePermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {};
    estimateGas: {
        createStream(streamIdPath: PromiseOrValue<string>, metadataJsonString: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        deleteStream(streamId: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        exists(streamId: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
        grantPermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        grantPublicPermission(streamId: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
        revokePermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        createStream(streamIdPath: PromiseOrValue<string>, metadataJsonString: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        deleteStream(streamId: PromiseOrValue<string>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        exists(streamId: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        grantPermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        grantPublicPermission(streamId: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
        revokePermission(streamId: PromiseOrValue<string>, user: PromiseOrValue<string>, permissionType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=IStreamRegistry.d.ts.map