import Provider from 'oidc-provider';
import { type Logger } from '@restorecommerce/logger';
import { type IdentityContext } from '../interfaces.js';
import type { OIDCConfig } from './interfaces.js';
import { type IdentitySrvGrpcClient } from '../grpc/index.js';
export type { OIDCConfig };
export { createOIDCRouter, type CreateOIDCRouterArgs } from './router.js';
export interface CreateOIDCArgs {
    logger: Logger;
    identitySrvClient: IdentitySrvGrpcClient;
    config: OIDCConfig;
    env: string;
}
export declare function createOIDC({ identitySrvClient, env, logger, config: { loginFn, post_logout_redirect_uris, localTokenServiceFactory, remoteTokenService, cookies, redirect_uris, client_id, client_secret, issuer, jwks, templates } }: CreateOIDCArgs): {
    provider: Provider;
    router: import("koa-router")<{}, IdentityContext>;
};
//# sourceMappingURL=index.d.ts.map