import type { IotaClient } from '@iota/iota-sdk/client'; import '../bcs.js'; import type { TransferPolicy, TransferPolicyCap } from '../types/index.js'; /** * Searches the `TransferPolicy`-s for the given type. The search is performed via * the `TransferPolicyCreated` event. The policy can either be owned or shared, * and the caller needs to filter the results accordingly (ie single owner can not * be accessed by anyone but the owner). * * @param provider * @param type */ export declare function queryTransferPolicy(client: IotaClient, type: string): Promise; /** * A function to fetch all the user's kiosk Caps * And a list of the kiosk address ids. * Returns a list of `kioskOwnerCapIds` and `kioskIds`. * Extra options allow pagination. * @returns TransferPolicyCap Object ID | undefined if not found. */ export declare function queryTransferPolicyCapsByType(client: IotaClient, address: string, type: string): Promise; /** * A function to fetch all the user's kiosk Caps * And a list of the kiosk address ids. * Returns a list of `kioskOwnerCapIds` and `kioskIds`. * Extra options allow pagination. * @returns TransferPolicyCap Object ID | undefined if not found. */ export declare function queryOwnedTransferPolicies(client: IotaClient, address: string): Promise; //# sourceMappingURL=transfer-policy.d.ts.map