import { Result } from "@webiny/feature/api"; import type { ApiKey } from "../shared/types.js"; import { ApiKeysRepository } from "../shared/abstractions.js"; export interface IGetApiKeyBySlugErrors { } type GetApiKeyBySlugError = IGetApiKeyBySlugErrors[keyof IGetApiKeyBySlugErrors] | ApiKeysRepository.Error; export interface IGetApiKeyBySlug { execute(slug: string): Promise>; } /** Retrieve an API key by its slug. */ export declare const GetApiKeyBySlugUseCase: import("@webiny/di").Abstraction; export declare namespace GetApiKeyBySlugUseCase { type Interface = IGetApiKeyBySlug; type Error = GetApiKeyBySlugError; } export {};