/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import type * as t from '~/types'; /** Factory function that takes mongoose instance and returns the methods */ export declare function createShareMethods(mongoose: typeof import('mongoose')): { getSharedLink: (user: string, conversationId: string) => Promise; getSharedLinks: (user: string, pageParam?: Date, pageSize?: number, isPublic?: boolean, sortBy?: string, sortDirection?: string, search?: string) => Promise; createSharedLink: (user: string, conversationId: string, targetMessageId?: string) => Promise; updateSharedLink: (user: string, shareId: string) => Promise; deleteSharedLink: (user: string, shareId: string) => Promise; getSharedMessages: (shareId: string) => Promise; deleteAllSharedLinks: (user: string) => Promise; deleteConvoSharedLink: (user: string, conversationId: string) => Promise; }; export type ShareMethods = ReturnType;