import { IntegrationRegistry } from '../registry/integration-registry';
import { IntegrationConnectionRepo } from '../repos/integration-connection.repo';
import { IntegrationRepo } from '../repos/integration.repo';
import { OAuthService } from '../oauth/oauth.service';
import { UnfurlResult, UnfurlNeedsConnection } from '../registry/integration-provider.interface';
import { RedisService } from '@nestjs-labs/nestjs-ioredis';
export declare class UnfurlService {
    private readonly registry;
    private readonly integrationRepo;
    private readonly connectionRepo;
    private readonly oauthService;
    private readonly redisService;
    private readonly logger;
    private readonly redis;
    constructor(registry: IntegrationRegistry, integrationRepo: IntegrationRepo, connectionRepo: IntegrationConnectionRepo, oauthService: OAuthService, redisService: RedisService);
    unfurl(url: string, userId: string, workspaceId: string): Promise<UnfurlResult | UnfurlNeedsConnection | null>;
    private cacheNull;
    private unfurlPublic;
    private buildNeedsConnection;
    private resolveProvider;
    private buildCacheKey;
}
