import { ContactChannelsCrud } from "@stackframe/stack-shared/dist/interface/crud/contact-channels"; //#region src/lib/stack-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 { ContactChannel, ContactChannelCreateOptions, ContactChannelUpdateOptions, ServerContactChannel, ServerContactChannelCreateOptions, ServerContactChannelUpdateOptions, contactChannelCreateOptionsToCrud, contactChannelUpdateOptionsToCrud, serverContactChannelCreateOptionsToCrud, serverContactChannelUpdateOptionsToCrud }; //# sourceMappingURL=index.d.ts.map