import { Patp, Poke, Scry } from '../lib'; import { Contact, ContactUpdateAdd, ContactUpdateEdit, ContactUpdateRemove, ContactEditField, ContactShare, ContactUpdate, ContactUpdateAllowShips, ContactUpdateAllowGroup, ContactUpdateSetPublic } from './types'; export declare const CONTACT_UPDATE_VERSION = 0; declare const storeAction: (data: T, version?: number) => Poke; export { storeAction as contactStoreAction }; export declare const addContact: (ship: Patp, contact: Contact) => Poke; export declare const removeContact: (ship: Patp) => Poke; export declare const share: (recipient: Patp, version?: number) => Poke; export declare const editContact: (ship: Patp, editField: ContactEditField) => Poke; export declare const allowShips: (ships: Patp[]) => Poke; export declare const allowGroup: (ship: string, name: string) => Poke; export declare const setPublic: (setPublic: any) => Poke; export declare const retrieve: (ship: string) => { app: string; mark: string; json: { add: { resource: { ship: string; name: string; }; ship: string; }; }; }; export declare const fetchIsAllowed: (entity: string, name: string, ship: string, personal: boolean) => Scry;