import type { ApiInterfaceRx } from '@polkadot/api/types'; import type { AccountId } from '@polkadot/types/interfaces'; import type { Observable } from '@polkadot/x-rxjs'; import type { DeriveDemocracyLock } from '../types'; export declare function locks(instanceId: string, api: ApiInterfaceRx): (accountId: string | AccountId) => Observable;