import { RedisClientType } from 'redis'; export interface GetCortinaBlockOptions { blockUrl: string; headers?: any; addBlocks?: any; uriPathPrefix: any; hostUrl: string; redisOptions?: RedisClientType; } type Lang = 'sv' | 'en'; export type messageGetter = (key: 'site_name' | 'locale_text', lang: Lang) => string; export type cortinaBlocksGetter = (lang: Lang, url: string) => Promise; export declare function createGetCortinaBlocks(getMessage: messageGetter, options: GetCortinaBlockOptions): cortinaBlocksGetter; export {};