import { Connector } from "../types/connector.js"; import { Config } from "../factories/createConfig.js"; import { Account, Client, Compute } from "@bigmi/core"; //#region src/actions/getConnectorClient.d.ts type ChainIdParameter = { chainId?: (chainId extends config["chains"][number]["id"] ? chainId : undefined) | config["chains"][number]["id"] | undefined; }; type GetConnectorClientReturnType = Compute, Account>>; type ConnectorParameter = { connector?: Connector | undefined; }; type GetConnectorClientParameters = Compute & ConnectorParameter & { /** * Account to use for the client. * * - `Account | Address`: An Account MUST exist on the connector. * - `null`: Account MAY NOT exist on the connector. This is useful for * actions that can infer the account from the connector (e.g. sending a * call without a connected account – the user will be prompted to select * an account within the wallet). */ account?: Account | null | undefined; }>; declare function getConnectorClient(config: C, parameters?: GetConnectorClientParameters): Promise>; //#endregion export { ChainIdParameter, ConnectorParameter, GetConnectorClientParameters, GetConnectorClientReturnType, getConnectorClient }; //# sourceMappingURL=getConnectorClient.d.ts.map