import { IRouter } from 'express';
import { SecurityConfig } from './security';
export declare function setupCors(app: IRouter, { allowedCorsOrigins }: SecurityConfig): void;
export declare const handleAdminUICORSOrigin: (securityConfig: SecurityConfig & {
    adminUIOrigin: string;
}) => {
    allowedCorsOrigins: string;
    immutableConfig: boolean;
    allow_readonly: boolean;
    allowNewUserRegistration: boolean;
    allowDeviceAccessRequests: boolean;
    expiration: string;
    devices: import("./security").Device[];
    secretKey: string;
    users: import("./security").User[];
    acls?: import("./security").ACL[];
    oidc?: import("./security").OIDCSecurityConfig;
};
//# sourceMappingURL=cors.d.ts.map