import type Identifier from '../../models/Identifier'; import type Ifi from '../../models/Ifi'; import type Lockable from '../../repoFactory/utils/Lockable'; import type Config from '../Config'; export interface Options { readonly organisation: string; readonly ifi: Ifi; readonly persona?: string; } export interface Result { readonly identifier: Identifier; readonly wasCreated: boolean; } declare const _default: (config: Config) => ({ persona, locked, ifi, organisation, }: Options & Lockable) => Promise; export default _default;