import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common"; export type TablelandPolicyStruct = { allowInsert: boolean; allowUpdate: boolean; allowDelete: boolean; whereClause: string; withCheck: string; updatableColumns: string[]; }; export type TablelandPolicyStructOutput = [ allowInsert: boolean, allowUpdate: boolean, allowDelete: boolean, whereClause: string, withCheck: string, updatableColumns: string[] ] & { allowInsert: boolean; allowUpdate: boolean; allowDelete: boolean; whereClause: string; withCheck: string; updatableColumns: string[]; }; export interface TestTablelandControllerInterface extends Interface { getFunction(nameOrSignature: "REQUIRED_VALUE" | "getPolicy(address)" | "getPolicy(address,uint256)" | "owner" | "renounceOwnership" | "setBars" | "setFoos" | "transferOwnership"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; encodeFunctionData(functionFragment: "REQUIRED_VALUE", values?: undefined): string; encodeFunctionData(functionFragment: "getPolicy(address)", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getPolicy(address,uint256)", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "setBars", values: [AddressLike]): string; encodeFunctionData(functionFragment: "setFoos", values: [AddressLike]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; decodeFunctionResult(functionFragment: "REQUIRED_VALUE", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPolicy(address)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPolicy(address,uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setBars", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setFoos", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface TestTablelandController extends BaseContract { connect(runner?: ContractRunner | null): TestTablelandController; waitForDeployment(): Promise; interface: TestTablelandControllerInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; REQUIRED_VALUE: TypedContractMethod<[], [bigint], "view">; "getPolicy(address)": TypedContractMethod<[ arg0: AddressLike ], [ TablelandPolicyStructOutput ], "payable">; "getPolicy(address,uint256)": TypedContractMethod<[ caller: AddressLike, arg1: BigNumberish ], [ TablelandPolicyStructOutput ], "payable">; owner: TypedContractMethod<[], [string], "view">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; setBars: TypedContractMethod<[bars: AddressLike], [void], "nonpayable">; setFoos: TypedContractMethod<[foos: AddressLike], [void], "nonpayable">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "REQUIRED_VALUE"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getPolicy(address)"): TypedContractMethod<[ arg0: AddressLike ], [ TablelandPolicyStructOutput ], "payable">; getFunction(nameOrSignature: "getPolicy(address,uint256)"): TypedContractMethod<[ caller: AddressLike, arg1: BigNumberish ], [ TablelandPolicyStructOutput ], "payable">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setBars"): TypedContractMethod<[bars: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "setFoos"): TypedContractMethod<[foos: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getEvent(key: "OwnershipTransferred"): TypedContractEvent; filters: { "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; }; } //# sourceMappingURL=TestTablelandController.d.ts.map