import * as E from "edinburgh"; import { ServerProxy, Socket } from "lowlander/server"; import type { HttpRequest, HttpResponse } from "warpsocket"; export { _dashboard } from "lowlander/dashboard"; export declare function handleHttpRequest(req: HttpRequest, res: HttpResponse): void; export declare const getDebugState: typeof import("warpsocket/addon-loader").getDebugState; export declare function add(a: number, b: number): number; export declare class UserAPI { userName: string; constructor(userName: string); get user(): Person; getBio(): string; toggleFriend(friendName: string): boolean; onDrop(): void; } export declare function authenticate(auth: string): Promise>; export declare function getOnlineUsers(): string[]; export declare function greet(name: string, greeting?: string): string; declare const Person: E.ModelClass<{}, { name: string; age: number; friends: (/*elided*/ any & E.ModelBase>)[]; password: string; onlineCount: number; }, [string], { [x: string]: "password" | "name" | "age" | "friends" | "onlineCount" | readonly ("password" | "name" | "age" | "friends" | "onlineCount")[] | ((instance: { name: string; age: number; friends: (/*elided*/ any & E.ModelBase>)[]; password: string; onlineCount: number; } & E.ModelBase>) => any); }, { readonly online: (instance: any) => boolean[]; }>; type Person = InstanceType; export declare function authenticateWithStream(auth: string): Promise>>; export declare function resetTestData(deleteEverything: boolean): Promise; export declare function streamModel(): import("lowlander/server").StreamTypeBase<{ name: string; owner: { name: string; age: number; friends: readonly { name: string; age: number; }[]; }; createdAt: Date; meta: Record; }>; export declare function streamModelCached(): import("lowlander/server").StreamTypeBase<{ name: string; owner: { name: string; }; }>; export declare function streamModelLinkedRecord(): import("lowlander/server").StreamTypeBase<{ owners: Record; }>; export declare function streamVirtual(): import("lowlander/server").StreamTypeBase<{ name: string; nameUpper: string; }>; export declare function incrOwnerAge(delta: number): Promise; export declare function setOwnerAge(age: number): void; export declare function setModelName(name: string): void; export declare function setMeta(key: string, value: number): void; export declare function deleteMeta(key: string): void; export declare function streamSomething(socket: Socket): void; //# sourceMappingURL=api.d.ts.map