23 lines
832 B
TypeScript
23 lines
832 B
TypeScript
|
|
import type { UnifiedEmailServer } from '../routing/classes.unified.email.server.js';
|
||
|
|
/**
|
||
|
|
* Configures email server storage settings
|
||
|
|
* @param emailServer Reference to the unified email server
|
||
|
|
* @param options Configuration options containing storage paths
|
||
|
|
*/
|
||
|
|
export declare function configureEmailStorage(emailServer: UnifiedEmailServer, options: any): Promise<void>;
|
||
|
|
/**
|
||
|
|
* Configure email server with port and storage settings
|
||
|
|
* @param emailServer Reference to the unified email server
|
||
|
|
* @param config Configuration settings for email server
|
||
|
|
*/
|
||
|
|
export declare function configureEmailServer(emailServer: UnifiedEmailServer, config: {
|
||
|
|
ports?: number[];
|
||
|
|
hostname?: string;
|
||
|
|
tls?: {
|
||
|
|
certPath?: string;
|
||
|
|
keyPath?: string;
|
||
|
|
caPath?: string;
|
||
|
|
};
|
||
|
|
storagePath?: string;
|
||
|
|
}): Promise<boolean>;
|