import type { ValidBasicAuthCredentialSet } from '@konker.dev/tiny-auth-utils-fp/basic-auth'; import { Context } from 'effect'; import { type HttpApiError } from '../HttpApiError.js'; import type { Rec, RequestResponseHandler } from '../index.js'; import type { WithNormalizedInputHeaders } from './headersNormalizer/types.js'; export type BasicAuthAuthenticatorDeps = { readonly validBasicAuthCredentialSet: ValidBasicAuthCredentialSet; }; export declare const BasicAuthAuthenticatorDeps: Context.Tag; export type WithUserId = { readonly userId: string | undefined; }; export declare const middleware: () => (wrapped: RequestResponseHandler) => RequestResponseHandler; //# sourceMappingURL=basicAuthAuthenticator.d.ts.map