import { ContactChannelsCrud } from "@hexclave/shared/dist/interface/crud/contact-channels"; //#region src/lib/hexclave-app/contact-channels/index.d.ts type ContactChannel = { id: string; value: string; type: 'email'; isPrimary: boolean; isVerified: boolean; usedForAuth: boolean; sendVerificationEmail(options?: { callbackUrl?: string; }): Promise; update(data: ContactChannelUpdateOptions): Promise; delete(): Promise; }; type ContactChannelCreateOptions = { value: string; type: 'email'; usedForAuth: boolean; isPrimary?: boolean; }; declare function contactChannelCreateOptionsToCrud(userId: string, options: ContactChannelCreateOptions): ContactChannelsCrud["Client"]["Create"]; type ContactChannelUpdateOptions = { usedForAuth?: boolean; value?: string; isPrimary?: boolean; }; declare function contactChannelUpdateOptionsToCrud(options: ContactChannelUpdateOptions): ContactChannelsCrud["Client"]["Update"]; type ServerContactChannel = ContactChannel & { update(data: ServerContactChannelUpdateOptions): Promise; }; type ServerContactChannelUpdateOptions = ContactChannelUpdateOptions & { isVerified?: boolean; }; declare function serverContactChannelUpdateOptionsToCrud(options: ServerContactChannelUpdateOptions): ContactChannelsCrud["Server"]["Update"]; type ServerContactChannelCreateOptions = ContactChannelCreateOptions & { isVerified?: boolean; }; declare function serverContactChannelCreateOptionsToCrud(userId: string, options: ServerContactChannelCreateOptions): ContactChannelsCrud["Server"]["Create"]; //#endregion export { ServerContactChannelCreateOptions as a, contactChannelUpdateOptionsToCrud as c, ServerContactChannel as i, serverContactChannelCreateOptionsToCrud as l, ContactChannelCreateOptions as n, ServerContactChannelUpdateOptions as o, ContactChannelUpdateOptions as r, contactChannelCreateOptionsToCrud as s, ContactChannel as t, serverContactChannelUpdateOptionsToCrud as u }; //# sourceMappingURL=index-DN04TjLM.d.ts.map