import type { BootstrapResponse, AppType, MyAppsResponse, TemplateScaffoldResponse } from '@playdrop/types';
type ApiResponseLike<T> = {
    status: number;
    body: T;
    headers: Headers;
};
type RequestExecutor = <T>(input: {
    method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
    path: string;
    body?: unknown;
    headers?: Record<string, string>;
    signal?: AbortSignal;
}) => Promise<ApiResponseLike<T>>;
type ErrorHandler = (response: ApiResponseLike<unknown>, defaultMessage: string) => never;
export declare function buildMeApiClientMethods(input: {
    request: RequestExecutor;
    handleApiError: ErrorHandler;
}): {
    fetchMyApps(options?: {
        limit?: number;
        offset?: number;
        type?: AppType;
    }): Promise<MyAppsResponse>;
    fetchBootstrap(): Promise<BootstrapResponse>;
    fetchTemplateScaffold(namespace: string, slug: string): Promise<TemplateScaffoldResponse>;
};
export {};
//# sourceMappingURL=me.d.ts.map