import * as hono_hono_base from 'hono/hono-base'; import * as hono_types from 'hono/types'; import * as hono_utils_http_status from 'hono/utils/http-status'; import { HttpBindings } from '@hono/node-server'; import * as better_call from 'better-call'; import * as zod from 'zod'; import { z } from 'zod'; import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core'; import { AnyPgColumn } from 'drizzle-orm/pg-core'; import * as drizzle_orm from 'drizzle-orm'; import { InferInsertModel, SQL } from 'drizzle-orm'; import * as better_auth_adapters_drizzle from 'better-auth/adapters/drizzle'; import * as better_auth_plugins from 'better-auth/plugins'; import * as better_auth from 'better-auth'; type Env = { Bindings: HttpBindings; }; declare const authPlugins: ({ id: "customGetProviders"; endpoints: { customGetProviders: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/get-providers"; }; }; } | { id: "customCreateSession"; endpoints: { customCreateSession: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/create-session"; }; }; } | { id: "getAccountInfo"; endpoints: { getAccountInfo: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/get-account-info"; }; }; } | { id: "customUpdateUser"; endpoints: { customUpdateUser: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; } & { use: any[]; }; path: "/update-user-ccc"; }; }; })[]; declare const achievements: drizzle_orm_pg_core.PgTableWithColumns<{ name: "achievements"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "achievements"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "achievements"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core.PgColumn<{ name: "type"; tableName: "achievements"; dataType: "string"; columnType: "PgText"; data: "checking" | "completed" | "incomplete" | "audit" | "received"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: ["checking", "completed", "incomplete", "audit", "received"]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; actionId: drizzle_orm_pg_core.PgColumn<{ name: "action_id"; tableName: "achievements"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; progress: drizzle_orm_pg_core.PgColumn<{ name: "progress"; tableName: "achievements"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; progressMax: drizzle_orm_pg_core.PgColumn<{ name: "progress_max"; tableName: "achievements"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; done: drizzle_orm_pg_core.PgColumn<{ name: "done"; tableName: "achievements"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; doneAt: drizzle_orm_pg_core.PgColumn<{ name: "done_at"; tableName: "achievements"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; tx: drizzle_orm_pg_core.PgColumn<{ name: "tx"; tableName: "achievements"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const achievementsOpenAPISchema: zod.ZodObject<{ id: zod.ZodString; userId: zod.ZodString; type: zod.ZodEnum<["checking", "completed", "incomplete", "audit", "received"]>; actionId: zod.ZodNumber; progress: zod.ZodNumber; progressMax: zod.ZodNumber; done: zod.ZodBoolean; doneAt: zod.ZodNullable; tx: zod.ZodNullable; }, zod.UnknownKeysParam, zod.ZodTypeAny, { id: string; userId: string; type: "checking" | "completed" | "incomplete" | "audit" | "received"; actionId: number; progress: number; progressMax: number; done: boolean; doneAt: string | null; tx: string | null; }, { id: string; userId: string; type: "checking" | "completed" | "incomplete" | "audit" | "received"; actionId: number; progress: number; progressMax: number; done: boolean; doneAt: string | null; tx: string | null; }>; declare const languageSchema: z.ZodEnum<["en", "ja", "zh-CN", "zh-TW"]>; declare const ruleFieldSchema: z.ZodEnum<["all", "title", "content", "author", "url", "order"]>; declare const ruleOperatorSchema: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; declare const conditionItemSchema: z.ZodObject<{ field: z.ZodEnum<["view", "title", "site_url", "feed_url", "category", "entry_title", "entry_content", "entry_url", "entry_author", "entry_media_length"]>; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>; type ConditionItem = z.infer; declare const actions: drizzle_orm_pg_core.PgTableWithColumns<{ name: "actions"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "actions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; rules: drizzle_orm_pg_core.PgColumn<{ name: "rules"; tableName: "actions"; dataType: "json"; columnType: "PgJsonb"; data: { name: string; condition: ConditionItem[] | ConditionItem[][]; result: { disabled?: boolean; translation?: z.infer; summary?: boolean; readability?: boolean; sourceContent?: boolean; silence?: boolean; block?: boolean; newEntryNotification?: boolean; rewriteRules?: { from: string; to: string; }[]; blockRules?: { field: z.infer; operator: z.infer; value: string | number; }[]; webhooks?: string[]; }; }[]; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { name: string; condition: ConditionItem[] | ConditionItem[][]; result: { disabled?: boolean; translation?: z.infer; summary?: boolean; readability?: boolean; sourceContent?: boolean; silence?: boolean; block?: boolean; newEntryNotification?: boolean; rewriteRules?: { from: string; to: string; }[]; blockRules?: { field: z.infer; operator: z.infer; value: string | number; }[]; webhooks?: string[]; }; }[]; }>; }; dialect: "pg"; }>; declare const actionsItemOpenAPISchema: z.ZodObject<{ name: z.ZodString; condition: z.ZodUnion<[z.ZodArray; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">, z.ZodArray; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">, "many">]>; result: z.ZodObject<{ disabled: z.ZodOptional; translation: z.ZodOptional>; summary: z.ZodOptional; readability: z.ZodOptional; sourceContent: z.ZodOptional; silence: z.ZodOptional; block: z.ZodOptional; newEntryNotification: z.ZodOptional; rewriteRules: z.ZodOptional, "many">>; blockRules: z.ZodOptional; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodUnion<[z.ZodString, z.ZodNumber]>; }, "strip", z.ZodTypeAny, { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">>; webhooks: z.ZodOptional>; }, "strip", z.ZodTypeAny, { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }, { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }, { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }>; declare const actionsOpenAPISchema: z.ZodObject>; }, "rules">, { rules: z.ZodNullable; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">, z.ZodArray; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">, "many">]>; result: z.ZodObject<{ disabled: z.ZodOptional; translation: z.ZodOptional>; summary: z.ZodOptional; readability: z.ZodOptional; sourceContent: z.ZodOptional; silence: z.ZodOptional; block: z.ZodOptional; newEntryNotification: z.ZodOptional; rewriteRules: z.ZodOptional, "many">>; blockRules: z.ZodOptional; operator: z.ZodEnum<["contains", "not_contains", "eq", "not_eq", "gt", "lt", "regex"]>; value: z.ZodUnion<[z.ZodString, z.ZodNumber]>; }, "strip", z.ZodTypeAny, { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }, { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }>, "many">>; webhooks: z.ZodOptional>; }, "strip", z.ZodTypeAny, { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }, { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }, { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }>, "many">>>; }>, "strip", z.ZodTypeAny, { userId: string; rules?: { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }[] | null | undefined; }, { userId: string; rules?: { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }[] | null | undefined; }>; declare const actionsRelations: drizzle_orm.Relations<"actions", { users: drizzle_orm.One<"user", true>; }>; type ActionsModel = z.infer; type SettingsModel = Exclude["result"], undefined>; declare const detailModelSchema: z.ZodNullable>; type DetailModel = z.infer; declare const activityEnum: readonly ["public_beta"]; type AirdropActivity = typeof activityEnum[number]; declare const airdrops: drizzle_orm_pg_core.PgTableWithColumns<{ name: "airdrops"; schema: undefined; columns: { activity: drizzle_orm_pg_core.PgColumn<{ name: "activity"; tableName: "airdrops"; dataType: "string"; columnType: "PgText"; data: "public_beta"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: ["public_beta"]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "airdrops"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; amount: drizzle_orm_pg_core.PgColumn<{ name: "amount"; tableName: "airdrops"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; rank: drizzle_orm_pg_core.PgColumn<{ name: "rank"; tableName: "airdrops"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; detail: drizzle_orm_pg_core.PgColumn<{ name: "detail"; tableName: "airdrops"; dataType: "json"; columnType: "PgJsonb"; data: { "Invitations count": number; "Purchase lists cost": number; "Total tip amount": number; "Feeds subscriptions count": number; "Lists subscriptions count": number; "Inbox subscriptions count": number; "Recent read count in the last month": number; "Mint count": number; "Claimed feeds count": number; "Claimed feeds subscriptions count": number; "Lists with more than 1 feed count": number; "Created lists subscriptions count": number; "Created lists income amount": number; "GitHub Community Contributions": number; "Invitations count Rank": number; "Purchase lists cost Rank": number; "Total tip amount Rank": number; "Feeds subscriptions count Rank": number; "Lists subscriptions count Rank": number; "Inbox subscriptions count Rank": number; "Recent read count in the last month Rank": number; "Mint count Rank": number; "Claimed feeds count Rank": number; "Claimed feeds subscriptions count Rank": number; "Lists with more than 1 feed count Rank": number; "Created lists subscriptions count Rank": number; "Created lists income amount Rank": number; "GitHub Community Contributions Rank": number; } | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { "Invitations count": number; "Purchase lists cost": number; "Total tip amount": number; "Feeds subscriptions count": number; "Lists subscriptions count": number; "Inbox subscriptions count": number; "Recent read count in the last month": number; "Mint count": number; "Claimed feeds count": number; "Claimed feeds subscriptions count": number; "Lists with more than 1 feed count": number; "Created lists subscriptions count": number; "Created lists income amount": number; "GitHub Community Contributions": number; "Invitations count Rank": number; "Purchase lists cost Rank": number; "Total tip amount Rank": number; "Feeds subscriptions count Rank": number; "Lists subscriptions count Rank": number; "Inbox subscriptions count Rank": number; "Recent read count in the last month Rank": number; "Mint count Rank": number; "Claimed feeds count Rank": number; "Claimed feeds subscriptions count Rank": number; "Lists with more than 1 feed count Rank": number; "Created lists subscriptions count Rank": number; "Created lists income amount Rank": number; "GitHub Community Contributions Rank": number; } | null; }>; verify: drizzle_orm_pg_core.PgColumn<{ name: "verify"; tableName: "airdrops"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; tx: drizzle_orm_pg_core.PgColumn<{ name: "tx"; tableName: "airdrops"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const airdropsOpenAPISchema: z.ZodObject; userId: z.ZodString; amount: z.ZodString; rank: z.ZodNullable; detail: z.ZodNullable>; verify: z.ZodNullable; tx: z.ZodNullable; }, "detail">, { detail: z.ZodNullable>; }>, "strip", z.ZodTypeAny, { userId: string; tx: string | null; activity: "public_beta"; amount: string; rank: string | null; detail: { "Invitations count": number; "Purchase lists cost": number; "Total tip amount": number; "Feeds subscriptions count": number; "Lists subscriptions count": number; "Inbox subscriptions count": number; "Recent read count in the last month": number; "Mint count": number; "Claimed feeds count": number; "Claimed feeds subscriptions count": number; "Lists with more than 1 feed count": number; "Created lists subscriptions count": number; "Created lists income amount": number; "GitHub Community Contributions": number; "Invitations count Rank": number; "Purchase lists cost Rank": number; "Total tip amount Rank": number; "Feeds subscriptions count Rank": number; "Lists subscriptions count Rank": number; "Inbox subscriptions count Rank": number; "Recent read count in the last month Rank": number; "Mint count Rank": number; "Claimed feeds count Rank": number; "Claimed feeds subscriptions count Rank": number; "Lists with more than 1 feed count Rank": number; "Created lists subscriptions count Rank": number; "Created lists income amount Rank": number; "GitHub Community Contributions Rank": number; } | null; verify: string | null; }, { userId: string; tx: string | null; activity: "public_beta"; amount: string; rank: string | null; detail: { "Invitations count": number; "Purchase lists cost": number; "Total tip amount": number; "Feeds subscriptions count": number; "Lists subscriptions count": number; "Inbox subscriptions count": number; "Recent read count in the last month": number; "Mint count": number; "Claimed feeds count": number; "Claimed feeds subscriptions count": number; "Lists with more than 1 feed count": number; "Created lists subscriptions count": number; "Created lists income amount": number; "GitHub Community Contributions": number; "Invitations count Rank": number; "Purchase lists cost Rank": number; "Total tip amount Rank": number; "Feeds subscriptions count Rank": number; "Lists subscriptions count Rank": number; "Inbox subscriptions count Rank": number; "Recent read count in the last month Rank": number; "Mint count Rank": number; "Claimed feeds count Rank": number; "Claimed feeds subscriptions count Rank": number; "Lists with more than 1 feed count Rank": number; "Created lists subscriptions count Rank": number; "Created lists income amount Rank": number; "GitHub Community Contributions Rank": number; } | null; verify: string | null; }>; declare const captcha: drizzle_orm_pg_core.PgTableWithColumns<{ name: "captcha"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "captcha"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; failedCount: drizzle_orm_pg_core.PgColumn<{ name: "failed_count"; tableName: "captcha"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; passedCount: drizzle_orm_pg_core.PgColumn<{ name: "passed_count"; tableName: "captcha"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const collections: drizzle_orm_pg_core.PgTableWithColumns<{ name: "collections"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "collections"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; feedId: drizzle_orm_pg_core.PgColumn<{ name: "feed_id"; tableName: "collections"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; entryId: drizzle_orm_pg_core.PgColumn<{ name: "entry_id"; tableName: "collections"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "collections"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; view: drizzle_orm_pg_core.PgColumn<{ name: "view"; tableName: "collections"; dataType: "number"; columnType: "PgSmallInt"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const collectionsOpenAPISchema: zod.ZodObject<{ userId: zod.ZodString; feedId: zod.ZodString; entryId: zod.ZodString; createdAt: zod.ZodString; view: zod.ZodNumber; }, zod.UnknownKeysParam, zod.ZodTypeAny, { createdAt: string; userId: string; view: number; feedId: string; entryId: string; }, { createdAt: string; userId: string; view: number; feedId: string; entryId: string; }>; declare const collectionsRelations: drizzle_orm.Relations<"collections", { users: drizzle_orm.One<"user", true>; entries: drizzle_orm.One<"entries", true>; feeds: drizzle_orm.One<"feeds", true>; }>; type MediaModel = { url: string; type: "photo" | "video"; preview_image_url?: string; width?: number; height?: number; blurhash?: string; }; type AttachmentsModel = { url: string; duration_in_seconds?: number; mime_type?: string; size_in_bytes?: number; title?: string; }; type ExtraModel = { links?: { url: string; type: string; content_html?: string; }[]; }; declare const CommonEntryFields: { id: drizzle_orm.HasRuntimeDefault>>>>; title: drizzle_orm_pg_core.PgTextBuilder<{ name: "title"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; url: drizzle_orm_pg_core.PgTextBuilder<{ name: "url"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; content: drizzle_orm_pg_core.PgTextBuilder<{ name: "content"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; description: drizzle_orm_pg_core.PgTextBuilder<{ name: "description"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; guid: drizzle_orm.NotNull>; author: drizzle_orm_pg_core.PgTextBuilder<{ name: "author"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; authorUrl: drizzle_orm_pg_core.PgTextBuilder<{ name: "author_url"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; authorAvatar: drizzle_orm_pg_core.PgTextBuilder<{ name: "author_avatar"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; insertedAt: drizzle_orm.NotNull>; publishedAt: drizzle_orm.NotNull>; media: drizzle_orm.$Type, MediaModel[]>; categories: drizzle_orm_pg_core.PgArrayBuilder<{ name: "categories"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; enumValues: [string, ...string[]]; size: undefined; baseBuilder: { name: "categories"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }; }, { name: "categories"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; attachments: drizzle_orm.$Type, AttachmentsModel[]>; extra: drizzle_orm.$Type, ExtraModel>; language: drizzle_orm_pg_core.PgTextBuilder<{ name: "language"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }>; }; declare const entries: drizzle_orm_pg_core.PgTableWithColumns<{ name: "entries"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; url: drizzle_orm_pg_core.PgColumn<{ name: "url"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; content: drizzle_orm_pg_core.PgColumn<{ name: "content"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; description: drizzle_orm_pg_core.PgColumn<{ name: "description"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; guid: drizzle_orm_pg_core.PgColumn<{ name: "guid"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; author: drizzle_orm_pg_core.PgColumn<{ name: "author"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; authorUrl: drizzle_orm_pg_core.PgColumn<{ name: "author_url"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; authorAvatar: drizzle_orm_pg_core.PgColumn<{ name: "author_avatar"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; insertedAt: drizzle_orm_pg_core.PgColumn<{ name: "inserted_at"; tableName: "entries"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; publishedAt: drizzle_orm_pg_core.PgColumn<{ name: "published_at"; tableName: "entries"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; media: drizzle_orm_pg_core.PgColumn<{ name: "media"; tableName: "entries"; dataType: "json"; columnType: "PgJsonb"; data: MediaModel[]; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: MediaModel[]; }>; categories: drizzle_orm_pg_core.PgColumn<{ name: "categories"; tableName: "entries"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: drizzle_orm.Column<{ name: "categories"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: drizzle_orm_pg_core.PgColumnBuilder<{ name: "categories"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, drizzle_orm.ColumnBuilderExtraConfig>; size: undefined; }>; attachments: drizzle_orm_pg_core.PgColumn<{ name: "attachments"; tableName: "entries"; dataType: "json"; columnType: "PgJsonb"; data: AttachmentsModel[]; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: AttachmentsModel[]; }>; extra: drizzle_orm_pg_core.PgColumn<{ name: "extra"; tableName: "entries"; dataType: "json"; columnType: "PgJsonb"; data: ExtraModel; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ExtraModel; }>; language: drizzle_orm_pg_core.PgColumn<{ name: "language"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; feedId: drizzle_orm_pg_core.PgColumn<{ name: "feed_id"; tableName: "entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const attachmentsZodSchema: z.ZodNullable; mime_type: z.ZodOptional; size_in_bytes: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }>, "many">>>; declare const mediaZodSchema: z.ZodNullable; width: z.ZodOptional; height: z.ZodOptional; preview_image_url: z.ZodOptional; blurhash: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }>, "many">>>; declare const extraZodSchema: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: string; url: string; content_html?: string | undefined; }, { type: string; url: string; content_html?: string | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }>>>; declare const entriesOpenAPISchema: z.ZodObject; url: z.ZodNullable; content: z.ZodNullable; description: z.ZodNullable; guid: z.ZodString; author: z.ZodNullable; authorUrl: z.ZodNullable; authorAvatar: z.ZodNullable; insertedAt: z.ZodString; publishedAt: z.ZodString; media: z.ZodNullable>; categories: z.ZodNullable>; attachments: z.ZodNullable>; extra: z.ZodNullable>; language: z.ZodNullable; feedId: z.ZodString; }, "media" | "attachments" | "extra">, { attachments: z.ZodNullable; mime_type: z.ZodOptional; size_in_bytes: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }>, "many">>>; media: z.ZodNullable; width: z.ZodOptional; height: z.ZodOptional; preview_image_url: z.ZodOptional; blurhash: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }>, "many">>>; extra: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: string; url: string; content_html?: string | undefined; }, { type: string; url: string; content_html?: string | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }>>>; }>, "strip", z.ZodTypeAny, { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; feedId: string; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }, { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; feedId: string; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }>; declare const entriesRelations: drizzle_orm.Relations<"entries", { feeds: drizzle_orm.One<"feeds", true>; collections: drizzle_orm.Many<"collections">; feedPowerTokens: drizzle_orm.One<"feedPowerTokens", true>; entryReadHistories: drizzle_orm.One<"entryReadHistories", true>; }>; type EntriesModel = InferInsertModel & { attachments?: AttachmentsModel[] | null; media?: MediaModel[] | null; }; declare const entryReadHistories: drizzle_orm_pg_core.PgTableWithColumns<{ name: "entryReadHistories"; schema: undefined; columns: { entryId: drizzle_orm_pg_core.PgColumn<{ name: "entry_id"; tableName: "entryReadHistories"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userIds: drizzle_orm_pg_core.PgColumn<{ name: "user_ids"; tableName: "entryReadHistories"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: drizzle_orm.Column<{ name: "user_ids"; tableName: "entryReadHistories"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: drizzle_orm_pg_core.PgColumnBuilder<{ name: "user_ids"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, drizzle_orm.ColumnBuilderExtraConfig>; size: undefined; }>; readCount: drizzle_orm_pg_core.PgColumn<{ name: "read_count"; tableName: "entryReadHistories"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const entryReadHistoriesRelations: drizzle_orm.Relations<"entryReadHistories", { entry: drizzle_orm.One<"entries", true>; }>; type EntryReadHistoriesModel = InferInsertModel; declare const entryReadHistoriesOpenAPISchema: z.ZodObject<{ entryId: z.ZodString; userIds: z.ZodArray; readCount: z.ZodNumber; }, z.UnknownKeysParam, z.ZodTypeAny, { entryId: string; userIds: string[]; readCount: number; }, { entryId: string; userIds: string[]; readCount: number; }>; declare const urlReads: drizzle_orm_pg_core.PgTableWithColumns<{ name: "urlReads"; schema: undefined; columns: { url: drizzle_orm_pg_core.PgColumn<{ name: "url"; tableName: "urlReads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userIds: drizzle_orm_pg_core.PgColumn<{ name: "user_ids"; tableName: "urlReads"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: drizzle_orm.Column<{ name: "user_ids"; tableName: "urlReads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: drizzle_orm_pg_core.PgColumnBuilder<{ name: "user_ids"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, drizzle_orm.ColumnBuilderExtraConfig>; size: undefined; }>; count: drizzle_orm_pg_core.PgColumn<{ name: "count"; tableName: "urlReads"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; type UrlReadsModel = InferInsertModel; declare const urlReadsOpenAPISchema: z.ZodObject<{ url: z.ZodString; userIds: z.ZodArray; count: z.ZodNumber; }, z.UnknownKeysParam, z.ZodTypeAny, { url: string; userIds: string[]; count: number; }, { url: string; userIds: string[]; count: number; }>; declare const feeds: drizzle_orm_pg_core.PgTableWithColumns<{ name: "feeds"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; url: drizzle_orm_pg_core.PgColumn<{ name: "url"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; description: drizzle_orm_pg_core.PgColumn<{ name: "description"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; siteUrl: drizzle_orm_pg_core.PgColumn<{ name: "site_url"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; image: drizzle_orm_pg_core.PgColumn<{ name: "image"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; checkedAt: drizzle_orm_pg_core.PgColumn<{ name: "checked_at"; tableName: "feeds"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; lastModifiedHeader: drizzle_orm_pg_core.PgColumn<{ name: "last_modified_header"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; etagHeader: drizzle_orm_pg_core.PgColumn<{ name: "etag_header"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; ttl: drizzle_orm_pg_core.PgColumn<{ name: "ttl"; tableName: "feeds"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; errorMessage: drizzle_orm_pg_core.PgColumn<{ name: "error_message"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; errorAt: drizzle_orm_pg_core.PgColumn<{ name: "error_at"; tableName: "feeds"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; ownerUserId: drizzle_orm_pg_core.PgColumn<{ name: "owner_user_id"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; language: drizzle_orm_pg_core.PgColumn<{ name: "language"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; migrateTo: drizzle_orm_pg_core.PgColumn<{ name: "migrate_to"; tableName: "feeds"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const feedsOpenAPISchema: zod.ZodObject<{ id: zod.ZodString; url: zod.ZodString; title: zod.ZodNullable; description: zod.ZodNullable; siteUrl: zod.ZodNullable; image: zod.ZodNullable; checkedAt: zod.ZodString; lastModifiedHeader: zod.ZodNullable; etagHeader: zod.ZodNullable; ttl: zod.ZodNullable; errorMessage: zod.ZodNullable; errorAt: zod.ZodNullable; ownerUserId: zod.ZodNullable; language: zod.ZodNullable; migrateTo: zod.ZodNullable; }, zod.UnknownKeysParam, zod.ZodTypeAny, { id: string; image: string | null; description: string | null; title: string | null; url: string; siteUrl: string | null; checkedAt: string; lastModifiedHeader: string | null; etagHeader: string | null; ttl: number | null; errorMessage: string | null; errorAt: string | null; ownerUserId: string | null; language: string | null; migrateTo: string | null; }, { id: string; image: string | null; description: string | null; title: string | null; url: string; siteUrl: string | null; checkedAt: string; lastModifiedHeader: string | null; etagHeader: string | null; ttl: number | null; errorMessage: string | null; errorAt: string | null; ownerUserId: string | null; language: string | null; migrateTo: string | null; }>; declare const feedsRelations: drizzle_orm.Relations<"feeds", { subscriptions: drizzle_orm.Many<"subscriptions">; entries: drizzle_orm.Many<"entries">; owner: drizzle_orm.One<"user", false>; migrateTo: drizzle_orm.One<"feeds", false>; }>; type FeedModel = InferInsertModel; declare const subscriptions: drizzle_orm_pg_core.PgTableWithColumns<{ name: "subscriptions"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; feedId: drizzle_orm_pg_core.PgColumn<{ name: "feed_id"; tableName: "subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; view: drizzle_orm_pg_core.PgColumn<{ name: "view"; tableName: "subscriptions"; dataType: "number"; columnType: "PgSmallInt"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; category: drizzle_orm_pg_core.PgColumn<{ name: "category"; tableName: "subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "subscriptions"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isPrivate: drizzle_orm_pg_core.PgColumn<{ name: "is_private"; tableName: "subscriptions"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const subscriptionsOpenAPISchema: zod.ZodObject<{ userId: zod.ZodString; feedId: zod.ZodString; view: zod.ZodNumber; category: zod.ZodNullable; title: zod.ZodNullable; createdAt: zod.ZodString; isPrivate: zod.ZodBoolean; }, zod.UnknownKeysParam, zod.ZodTypeAny, { createdAt: string; userId: string; title: string | null; view: number; category: string | null; feedId: string; isPrivate: boolean; }, { createdAt: string; userId: string; title: string | null; view: number; category: string | null; feedId: string; isPrivate: boolean; }>; declare const subscriptionsRelations: drizzle_orm.Relations<"subscriptions", { users: drizzle_orm.One<"user", true>; feeds: drizzle_orm.One<"feeds", true>; timeline: drizzle_orm.Many<"timeline">; rsshubUsage: drizzle_orm.One<"rsshub_usage", true>; }>; declare const inboxesEntries: drizzle_orm_pg_core.PgTableWithColumns<{ name: "inboxes_entries"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; url: drizzle_orm_pg_core.PgColumn<{ name: "url"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; content: drizzle_orm_pg_core.PgColumn<{ name: "content"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; description: drizzle_orm_pg_core.PgColumn<{ name: "description"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; guid: drizzle_orm_pg_core.PgColumn<{ name: "guid"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; author: drizzle_orm_pg_core.PgColumn<{ name: "author"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; authorUrl: drizzle_orm_pg_core.PgColumn<{ name: "author_url"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; authorAvatar: drizzle_orm_pg_core.PgColumn<{ name: "author_avatar"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; insertedAt: drizzle_orm_pg_core.PgColumn<{ name: "inserted_at"; tableName: "inboxes_entries"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; publishedAt: drizzle_orm_pg_core.PgColumn<{ name: "published_at"; tableName: "inboxes_entries"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; media: drizzle_orm_pg_core.PgColumn<{ name: "media"; tableName: "inboxes_entries"; dataType: "json"; columnType: "PgJsonb"; data: MediaModel[]; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: MediaModel[]; }>; categories: drizzle_orm_pg_core.PgColumn<{ name: "categories"; tableName: "inboxes_entries"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: drizzle_orm.Column<{ name: "categories"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: drizzle_orm_pg_core.PgColumnBuilder<{ name: "categories"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, drizzle_orm.ColumnBuilderExtraConfig>; size: undefined; }>; attachments: drizzle_orm_pg_core.PgColumn<{ name: "attachments"; tableName: "inboxes_entries"; dataType: "json"; columnType: "PgJsonb"; data: AttachmentsModel[]; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: AttachmentsModel[]; }>; extra: drizzle_orm_pg_core.PgColumn<{ name: "extra"; tableName: "inboxes_entries"; dataType: "json"; columnType: "PgJsonb"; data: ExtraModel; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ExtraModel; }>; language: drizzle_orm_pg_core.PgColumn<{ name: "language"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; inboxHandle: drizzle_orm_pg_core.PgColumn<{ name: "inbox_handle"; tableName: "inboxes_entries"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; read: drizzle_orm_pg_core.PgColumn<{ name: "read"; tableName: "inboxes_entries"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const inboxesEntriesOpenAPISchema: z.ZodObject; url: z.ZodNullable; content: z.ZodNullable; description: z.ZodNullable; guid: z.ZodString; author: z.ZodNullable; authorUrl: z.ZodNullable; authorAvatar: z.ZodNullable; insertedAt: z.ZodString; publishedAt: z.ZodString; media: z.ZodNullable>; categories: z.ZodNullable>; attachments: z.ZodNullable>; extra: z.ZodNullable>; language: z.ZodNullable; inboxHandle: z.ZodString; read: z.ZodNullable; }, "media" | "attachments" | "extra">, { attachments: z.ZodNullable; mime_type: z.ZodOptional; size_in_bytes: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }>, "many">>>; media: z.ZodNullable; width: z.ZodOptional; height: z.ZodOptional; preview_image_url: z.ZodOptional; blurhash: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }>, "many">>>; extra: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: string; url: string; content_html?: string | undefined; }, { type: string; url: string; content_html?: string | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }>>>; }>, "strip", z.ZodTypeAny, { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; read: boolean | null; inboxHandle: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }, { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; read: boolean | null; inboxHandle: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }>; declare const inboxesEntriesInsertOpenAPISchema: z.ZodObject; description: z.ZodOptional>; title: z.ZodOptional>; content: z.ZodOptional>; author: z.ZodOptional>; url: z.ZodOptional>; language: z.ZodOptional>; guid: z.ZodString; media: z.ZodOptional>>; categories: z.ZodOptional>>; attachments: z.ZodOptional>>; extra: z.ZodOptional>>; authorUrl: z.ZodOptional>; authorAvatar: z.ZodOptional>; insertedAt: z.ZodString; publishedAt: z.ZodString; read: z.ZodOptional>; inboxHandle: z.ZodString; }, "id" | "media" | "attachments" | "extra" | "insertedAt" | "publishedAt" | "inboxHandle">, { attachments: z.ZodNullable; mime_type: z.ZodOptional; size_in_bytes: z.ZodOptional; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }, { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }>, "many">>>; media: z.ZodNullable; width: z.ZodOptional; height: z.ZodOptional; preview_image_url: z.ZodOptional; blurhash: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }, { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }>, "many">>>; extra: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: string; url: string; content_html?: string | undefined; }, { type: string; url: string; content_html?: string | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }, { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; }>>>; publishedAt: z.ZodString; }>, "strip", z.ZodTypeAny, { guid: string; publishedAt: string; description?: string | null | undefined; title?: string | null | undefined; content?: string | null | undefined; author?: string | null | undefined; url?: string | null | undefined; language?: string | null | undefined; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; categories?: string[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; authorUrl?: string | null | undefined; authorAvatar?: string | null | undefined; read?: boolean | null | undefined; }, { guid: string; publishedAt: string; description?: string | null | undefined; title?: string | null | undefined; content?: string | null | undefined; author?: string | null | undefined; url?: string | null | undefined; language?: string | null | undefined; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; categories?: string[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; authorUrl?: string | null | undefined; authorAvatar?: string | null | undefined; read?: boolean | null | undefined; }>; declare const inboxesEntriesRelations: drizzle_orm.Relations<"inboxes_entries", { inboxes: drizzle_orm.One<"inboxes", true>; }>; type inboxesEntriesModel = InferInsertModel & { attachments?: AttachmentsModel[] | null; media?: MediaModel[] | null; }; declare const inboxes: drizzle_orm_pg_core.PgTableWithColumns<{ name: "inboxes"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "inboxes"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; handle: drizzle_orm_pg_core.PgColumn<{ name: "handle"; tableName: "inboxes"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; secret: drizzle_orm_pg_core.PgColumn<{ name: "secret"; tableName: "inboxes"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "inboxes"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const inboxesOpenAPISchema: z.ZodObject<{ userId: z.ZodString; handle: z.ZodString; secret: z.ZodString; title: z.ZodNullable; }, z.UnknownKeysParam, z.ZodTypeAny, { handle: string; userId: string; title: string | null; secret: string; }, { handle: string; userId: string; title: string | null; secret: string; }>; declare const inboxesRelations: drizzle_orm.Relations<"inboxes", { users: drizzle_orm.One<"user", true>; entries: drizzle_orm.Many<"inboxes_entries">; }>; declare const inboxHandleSchema: z.ZodString; declare const invitations: drizzle_orm_pg_core.PgTableWithColumns<{ name: "invitations"; schema: undefined; columns: { code: drizzle_orm_pg_core.PgColumn<{ name: "code"; tableName: "invitations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "invitations"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; usedAt: drizzle_orm_pg_core.PgColumn<{ name: "used_at"; tableName: "invitations"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; fromUserId: drizzle_orm_pg_core.PgColumn<{ name: "from_user_id"; tableName: "invitations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toUserId: drizzle_orm_pg_core.PgColumn<{ name: "to_user_id"; tableName: "invitations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const invitationsOpenAPISchema: zod.ZodObject<{ code: zod.ZodString; createdAt: zod.ZodNullable; usedAt: zod.ZodNullable; fromUserId: zod.ZodString; toUserId: zod.ZodNullable; }, zod.UnknownKeysParam, zod.ZodTypeAny, { code: string; createdAt: string | null; usedAt: string | null; fromUserId: string; toUserId: string | null; }, { code: string; createdAt: string | null; usedAt: string | null; fromUserId: string; toUserId: string | null; }>; declare const invitationsRelations: drizzle_orm.Relations<"invitations", { users: drizzle_orm.One<"user", false>; }>; declare const lists: drizzle_orm_pg_core.PgTableWithColumns<{ name: "lists"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; feedIds: drizzle_orm_pg_core.PgColumn<{ name: "feed_ids"; tableName: "lists"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: drizzle_orm.Column<{ name: "feed_ids"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: drizzle_orm_pg_core.PgColumnBuilder<{ name: "feed_ids"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, drizzle_orm.ColumnBuilderExtraConfig>; size: undefined; }>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; description: drizzle_orm_pg_core.PgColumn<{ name: "description"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; image: drizzle_orm_pg_core.PgColumn<{ name: "image"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; view: drizzle_orm_pg_core.PgColumn<{ name: "view"; tableName: "lists"; dataType: "number"; columnType: "PgSmallInt"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; fee: drizzle_orm_pg_core.PgColumn<{ name: "fee"; tableName: "lists"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; timelineUpdatedAt: drizzle_orm_pg_core.PgColumn<{ name: "timeline_updated_at"; tableName: "lists"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; language: drizzle_orm_pg_core.PgColumn<{ name: "language"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; ownerUserId: drizzle_orm_pg_core.PgColumn<{ name: "owner_user_id"; tableName: "lists"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const listsOpenAPISchema: zod.ZodObject<{ id: zod.ZodString; feedIds: zod.ZodArray; title: zod.ZodString; description: zod.ZodNullable; image: zod.ZodNullable; view: zod.ZodNumber; fee: zod.ZodNumber; timelineUpdatedAt: zod.ZodString; language: zod.ZodNullable; ownerUserId: zod.ZodString; }, zod.UnknownKeysParam, zod.ZodTypeAny, { id: string; image: string | null; description: string | null; title: string; view: number; ownerUserId: string; language: string | null; feedIds: string[]; fee: number; timelineUpdatedAt: string; }, { id: string; image: string | null; description: string | null; title: string; view: number; ownerUserId: string; language: string | null; feedIds: string[]; fee: number; timelineUpdatedAt: string; }>; declare const listsRelations: drizzle_orm.Relations<"lists", { owner: drizzle_orm.One<"user", true>; listsSubscriptions: drizzle_orm.Many<"lists_subscriptions">; }>; type ListModel = InferInsertModel; declare const listsSubscriptions: drizzle_orm_pg_core.PgTableWithColumns<{ name: "lists_subscriptions"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "lists_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; listId: drizzle_orm_pg_core.PgColumn<{ name: "list_id"; tableName: "lists_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; view: drizzle_orm_pg_core.PgColumn<{ name: "view"; tableName: "lists_subscriptions"; dataType: "number"; columnType: "PgSmallInt"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; title: drizzle_orm_pg_core.PgColumn<{ name: "title"; tableName: "lists_subscriptions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "lists_subscriptions"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isPrivate: drizzle_orm_pg_core.PgColumn<{ name: "is_private"; tableName: "lists_subscriptions"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const listsSubscriptionsOpenAPISchema: zod.ZodObject<{ userId: zod.ZodString; listId: zod.ZodString; view: zod.ZodNumber; title: zod.ZodNullable; createdAt: zod.ZodString; isPrivate: zod.ZodBoolean; }, zod.UnknownKeysParam, zod.ZodTypeAny, { createdAt: string; userId: string; title: string | null; view: number; isPrivate: boolean; listId: string; }, { createdAt: string; userId: string; title: string | null; view: number; isPrivate: boolean; listId: string; }>; declare const listsSubscriptionsRelations: drizzle_orm.Relations<"lists_subscriptions", { users: drizzle_orm.One<"user", true>; lists: drizzle_orm.One<"lists", true>; }>; declare const messaging: drizzle_orm_pg_core.PgTableWithColumns<{ name: "messaging"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "messaging"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; token: drizzle_orm_pg_core.PgColumn<{ name: "token"; tableName: "messaging"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; channel: drizzle_orm_pg_core.PgColumn<{ name: "channel"; tableName: "messaging"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const messagingOpenAPISchema: z.ZodObject; token: z.ZodString; channel: z.ZodString; }, "channel">, { channel: z.ZodEnum<["desktop", "mobile"]>; }>, "strip", z.ZodTypeAny, { userId: string | null; token: string; channel: "desktop" | "mobile"; }, { userId: string | null; token: string; channel: "desktop" | "mobile"; }>; declare const messagingRelations: drizzle_orm.Relations<"messaging", { users: drizzle_orm.One<"user", false>; }>; declare enum MessagingType { NewEntry = "new-entry" } type MessagingData = { type: MessagingType.NewEntry; feedId: string; entryId: string; view: string; title: string; description: string; }; declare const rsshub: drizzle_orm_pg_core.PgTableWithColumns<{ name: "rsshub"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "rsshub"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; baseUrl: drizzle_orm_pg_core.PgColumn<{ name: "base_url"; tableName: "rsshub"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accessKey: drizzle_orm_pg_core.PgColumn<{ name: "access_key"; tableName: "rsshub"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; ownerUserId: drizzle_orm_pg_core.PgColumn<{ name: "owner_user_id"; tableName: "rsshub"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; price: drizzle_orm_pg_core.PgColumn<{ name: "price"; tableName: "rsshub"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; description: drizzle_orm_pg_core.PgColumn<{ name: "description"; tableName: "rsshub"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userLimit: drizzle_orm_pg_core.PgColumn<{ name: "user_limit"; tableName: "rsshub"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const rsshubOpenAPISchema: zod.ZodObject<{ id: zod.ZodString; baseUrl: zod.ZodString; accessKey: zod.ZodNullable; ownerUserId: zod.ZodString; price: zod.ZodNumber; description: zod.ZodNullable; userLimit: zod.ZodNullable; }, zod.UnknownKeysParam, zod.ZodTypeAny, { id: string; description: string | null; ownerUserId: string; baseUrl: string; accessKey: string | null; price: number; userLimit: number | null; }, { id: string; description: string | null; ownerUserId: string; baseUrl: string; accessKey: string | null; price: number; userLimit: number | null; }>; declare const rsshubUsage: drizzle_orm_pg_core.PgTableWithColumns<{ name: "rsshub_usage"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "rsshub_usage"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; rsshubId: drizzle_orm_pg_core.PgColumn<{ name: "rsshub_id"; tableName: "rsshub_usage"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "rsshub_usage"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const rsshubUsageOpenAPISchema: zod.ZodObject<{ id: zod.ZodString; rsshubId: zod.ZodString; userId: zod.ZodString; }, zod.UnknownKeysParam, zod.ZodTypeAny, { id: string; userId: string; rsshubId: string; }, { id: string; userId: string; rsshubId: string; }>; declare const rsshubUsageRelations: drizzle_orm.Relations<"rsshub_usage", { rsshub: drizzle_orm.One<"rsshub", true>; }>; declare const settings: drizzle_orm_pg_core.PgTableWithColumns<{ name: "settings"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "settings"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "settings"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; tab: drizzle_orm_pg_core.PgColumn<{ name: "tab"; tableName: "settings"; dataType: "string"; columnType: "PgText"; data: "general" | "appearance" | "integration"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: ["general", "appearance", "integration"]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; payload: drizzle_orm_pg_core.PgColumn<{ name: "payload"; tableName: "settings"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; updateAt: drizzle_orm_pg_core.PgColumn<{ name: "update_at"; tableName: "settings"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; version: drizzle_orm_pg_core.PgColumn<{ name: "version"; tableName: "settings"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const timeline: drizzle_orm_pg_core.PgTableWithColumns<{ name: "timeline"; schema: undefined; columns: { userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "timeline"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; feedId: drizzle_orm_pg_core.PgColumn<{ name: "feedId"; tableName: "timeline"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; entryId: drizzle_orm_pg_core.PgColumn<{ name: "entry_id"; tableName: "timeline"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; publishedAt: drizzle_orm_pg_core.PgColumn<{ name: "published_at"; tableName: "timeline"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; insertedAt: drizzle_orm_pg_core.PgColumn<{ name: "inserted_at"; tableName: "timeline"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; view: drizzle_orm_pg_core.PgColumn<{ name: "view"; tableName: "timeline"; dataType: "number"; columnType: "PgSmallInt"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; read: drizzle_orm_pg_core.PgColumn<{ name: "read"; tableName: "timeline"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; from: drizzle_orm_pg_core.PgColumn<{ name: "from"; tableName: "timeline"; dataType: "array"; columnType: "PgArray"; data: string[]; driverParam: string | string[]; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: drizzle_orm.Column<{ name: "from"; tableName: "timeline"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identity: undefined; generated: undefined; }, {}, { baseBuilder: drizzle_orm_pg_core.PgColumnBuilder<{ name: "from"; dataType: "string"; columnType: "PgText"; data: string; enumValues: [string, ...string[]]; driverParam: string; }, {}, {}, drizzle_orm.ColumnBuilderExtraConfig>; size: undefined; }>; }; dialect: "pg"; }>; declare const timelineOpenAPISchema: zod.ZodObject<{ userId: zod.ZodString; feedId: zod.ZodString; entryId: zod.ZodString; publishedAt: zod.ZodString; insertedAt: zod.ZodString; view: zod.ZodNumber; read: zod.ZodNullable; from: zod.ZodNullable>; }, zod.UnknownKeysParam, zod.ZodTypeAny, { userId: string; view: number; from: string[] | null; feedId: string; insertedAt: string; publishedAt: string; entryId: string; read: boolean | null; }, { userId: string; view: number; from: string[] | null; feedId: string; insertedAt: string; publishedAt: string; entryId: string; read: boolean | null; }>; declare const timelineRelations: drizzle_orm.Relations<"timeline", { entries: drizzle_orm.One<"entries", true>; feeds: drizzle_orm.One<"feeds", true>; collections: drizzle_orm.One<"collections", true>; subscriptions: drizzle_orm.One<"subscriptions", true>; }>; declare enum UploadType { Avatar = "avatar" } declare const uploads: drizzle_orm_pg_core.PgTableWithColumns<{ name: "uploads"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "uploads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "uploads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; url: drizzle_orm_pg_core.PgColumn<{ name: "url"; tableName: "uploads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; md5: drizzle_orm_pg_core.PgColumn<{ name: "md5"; tableName: "uploads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; mimeType: drizzle_orm_pg_core.PgColumn<{ name: "mime_type"; tableName: "uploads"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; size: drizzle_orm_pg_core.PgColumn<{ name: "size"; tableName: "uploads"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core.PgColumn<{ name: "type"; tableName: "uploads"; dataType: "string"; columnType: "PgText"; data: UploadType; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [UploadType]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const user: drizzle_orm_pg_core.PgTableWithColumns<{ name: "user"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core.PgColumn<{ name: "name"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; email: drizzle_orm_pg_core.PgColumn<{ name: "email"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; emailVerified: drizzle_orm_pg_core.PgColumn<{ name: "emailVerified"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; image: drizzle_orm_pg_core.PgColumn<{ name: "image"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; handle: drizzle_orm_pg_core.PgColumn<{ name: "handle"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "user"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core.PgColumn<{ name: "updatedAt"; tableName: "user"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; twoFactorEnabled: drizzle_orm_pg_core.PgColumn<{ name: "two_factor_enabled"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isAnonymous: drizzle_orm_pg_core.PgColumn<{ name: "is_anonymous"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; suspended: drizzle_orm_pg_core.PgColumn<{ name: "suspended"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const users: drizzle_orm_pg_core.PgTableWithColumns<{ name: "user"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core.PgColumn<{ name: "name"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; email: drizzle_orm_pg_core.PgColumn<{ name: "email"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; emailVerified: drizzle_orm_pg_core.PgColumn<{ name: "emailVerified"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; image: drizzle_orm_pg_core.PgColumn<{ name: "image"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; handle: drizzle_orm_pg_core.PgColumn<{ name: "handle"; tableName: "user"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "user"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core.PgColumn<{ name: "updatedAt"; tableName: "user"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; twoFactorEnabled: drizzle_orm_pg_core.PgColumn<{ name: "two_factor_enabled"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isAnonymous: drizzle_orm_pg_core.PgColumn<{ name: "is_anonymous"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; suspended: drizzle_orm_pg_core.PgColumn<{ name: "suspended"; tableName: "user"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare function lower(handle: AnyPgColumn): SQL; declare const usersOpenApiSchema: zod.ZodObject; email: zod.ZodString; emailVerified: zod.ZodNullable; image: zod.ZodNullable; handle: zod.ZodNullable; createdAt: zod.ZodDate; updatedAt: zod.ZodDate; twoFactorEnabled: zod.ZodNullable; isAnonymous: zod.ZodNullable; suspended: zod.ZodNullable; }, "email">, "strip", zod.ZodTypeAny, { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: Date; updatedAt: Date; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }, { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: Date; updatedAt: Date; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }>; declare const account: drizzle_orm_pg_core.PgTableWithColumns<{ name: "account"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "userId"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; providerId: drizzle_orm_pg_core.PgColumn<{ name: "provider"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accountId: drizzle_orm_pg_core.PgColumn<{ name: "providerAccountId"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; refreshToken: drizzle_orm_pg_core.PgColumn<{ name: "refresh_token"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accessToken: drizzle_orm_pg_core.PgColumn<{ name: "access_token"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accessTokenExpiresAt: drizzle_orm_pg_core.PgColumn<{ name: "expires_at"; tableName: "account"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; refreshTokenExpiresAt: drizzle_orm_pg_core.PgColumn<{ name: "refreshTokenExpiresAt"; tableName: "account"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; scope: drizzle_orm_pg_core.PgColumn<{ name: "scope"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; idToken: drizzle_orm_pg_core.PgColumn<{ name: "id_token"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; password: drizzle_orm_pg_core.PgColumn<{ name: "password"; tableName: "account"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "createdAt"; tableName: "account"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core.PgColumn<{ name: "updatedAt"; tableName: "account"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const session: drizzle_orm_pg_core.PgTableWithColumns<{ name: "session"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "session"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; token: drizzle_orm_pg_core.PgColumn<{ name: "sessionToken"; tableName: "session"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "userId"; tableName: "session"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; expiresAt: drizzle_orm_pg_core.PgColumn<{ name: "expires"; tableName: "session"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "createdAt"; tableName: "session"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core.PgColumn<{ name: "updatedAt"; tableName: "session"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; ipAddress: drizzle_orm_pg_core.PgColumn<{ name: "ipAddress"; tableName: "session"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userAgent: drizzle_orm_pg_core.PgColumn<{ name: "userAgent"; tableName: "session"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const verification: drizzle_orm_pg_core.PgTableWithColumns<{ name: "verificationToken"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "verificationToken"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; identifier: drizzle_orm_pg_core.PgColumn<{ name: "identifier"; tableName: "verificationToken"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; value: drizzle_orm_pg_core.PgColumn<{ name: "token"; tableName: "verificationToken"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; expiresAt: drizzle_orm_pg_core.PgColumn<{ name: "expires"; tableName: "verificationToken"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "createdAt"; tableName: "verificationToken"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core.PgColumn<{ name: "updatedAt"; tableName: "verificationToken"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const twoFactor: drizzle_orm_pg_core.PgTableWithColumns<{ name: "two_factor"; schema: undefined; columns: { id: drizzle_orm_pg_core.PgColumn<{ name: "id"; tableName: "two_factor"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: true; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; secret: drizzle_orm_pg_core.PgColumn<{ name: "secret"; tableName: "two_factor"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; backupCodes: drizzle_orm_pg_core.PgColumn<{ name: "backup_codes"; tableName: "two_factor"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "user_id"; tableName: "two_factor"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const usersRelations: drizzle_orm.Relations<"user", { subscriptions: drizzle_orm.Many<"subscriptions">; listsSubscriptions: drizzle_orm.Many<"lists_subscriptions">; collections: drizzle_orm.Many<"collections">; actions: drizzle_orm.One<"actions", true>; wallets: drizzle_orm.One<"wallets", true>; feeds: drizzle_orm.Many<"feeds">; inboxes: drizzle_orm.One<"inboxes", true>; messaging: drizzle_orm.Many<"messaging">; }>; declare const wallets: drizzle_orm_pg_core.PgTableWithColumns<{ name: "wallets"; schema: undefined; columns: { addressIndex: drizzle_orm_pg_core.PgColumn<{ name: "address_index"; tableName: "wallets"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: "always"; generated: undefined; }, {}, {}>; address: drizzle_orm_pg_core.PgColumn<{ name: "address"; tableName: "wallets"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "userId"; tableName: "wallets"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "wallets"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; powerToken: drizzle_orm_pg_core.PgColumn<{ name: "power_token"; tableName: "wallets"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; dailyPowerToken: drizzle_orm_pg_core.PgColumn<{ name: "daily_power_token"; tableName: "wallets"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; cashablePowerToken: drizzle_orm_pg_core.PgColumn<{ name: "cashable_power_token"; tableName: "wallets"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const walletsOpenAPISchema: zod.ZodObject<{ addressIndex: zod.ZodNumber; address: zod.ZodNullable; userId: zod.ZodString; createdAt: zod.ZodString; powerToken: zod.ZodString; dailyPowerToken: zod.ZodString; cashablePowerToken: zod.ZodString; }, zod.UnknownKeysParam, zod.ZodTypeAny, { createdAt: string; userId: string; powerToken: string; addressIndex: number; address: string | null; dailyPowerToken: string; cashablePowerToken: string; }, { createdAt: string; userId: string; powerToken: string; addressIndex: number; address: string | null; dailyPowerToken: string; cashablePowerToken: string; }>; declare const walletsRelations: drizzle_orm.Relations<"wallets", { user: drizzle_orm.One<"user", true>; transactionsFrom: drizzle_orm.Many<"transactions">; transactionTo: drizzle_orm.Many<"transactions">; level: drizzle_orm.One<"levels", false>; }>; declare const transactionType: drizzle_orm_pg_core.PgEnum<["tip", "mint", "burn", "withdraw", "purchase", "airdrop"]>; declare const transactions: drizzle_orm_pg_core.PgTableWithColumns<{ name: "transactions"; schema: undefined; columns: { hash: drizzle_orm_pg_core.PgColumn<{ name: "hash"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core.PgColumn<{ name: "type"; tableName: "transactions"; dataType: "string"; columnType: "PgEnumColumn"; data: "tip" | "mint" | "burn" | "withdraw" | "purchase" | "airdrop"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: ["tip", "mint", "burn", "withdraw", "purchase", "airdrop"]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; fromUserId: drizzle_orm_pg_core.PgColumn<{ name: "from_user_id"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toUserId: drizzle_orm_pg_core.PgColumn<{ name: "to_user_id"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toFeedId: drizzle_orm_pg_core.PgColumn<{ name: "to_feed_id"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toListId: drizzle_orm_pg_core.PgColumn<{ name: "to_list_id"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toEntryId: drizzle_orm_pg_core.PgColumn<{ name: "to_entry_id"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toRSSHubId: drizzle_orm_pg_core.PgColumn<{ name: "to_rsshub_id"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; powerToken: drizzle_orm_pg_core.PgColumn<{ name: "power_token"; tableName: "transactions"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; tax: drizzle_orm_pg_core.PgColumn<{ name: "tax"; tableName: "transactions"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core.PgColumn<{ name: "created_at"; tableName: "transactions"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; comment: drizzle_orm_pg_core.PgColumn<{ name: "comment"; tableName: "transactions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const transactionsOpenAPISchema: zod.ZodObject<{ hash: zod.ZodString; type: zod.ZodEnum<["tip", "mint", "burn", "withdraw", "purchase", "airdrop"]>; fromUserId: zod.ZodNullable; toUserId: zod.ZodNullable; toFeedId: zod.ZodNullable; toListId: zod.ZodNullable; toEntryId: zod.ZodNullable; toRSSHubId: zod.ZodNullable; powerToken: zod.ZodString; tax: zod.ZodString; createdAt: zod.ZodString; comment: zod.ZodNullable; }, zod.UnknownKeysParam, zod.ZodTypeAny, { createdAt: string; type: "tip" | "mint" | "burn" | "withdraw" | "purchase" | "airdrop"; hash: string; powerToken: string; fromUserId: string | null; toUserId: string | null; toFeedId: string | null; toListId: string | null; toEntryId: string | null; toRSSHubId: string | null; tax: string; comment: string | null; }, { createdAt: string; type: "tip" | "mint" | "burn" | "withdraw" | "purchase" | "airdrop"; hash: string; powerToken: string; fromUserId: string | null; toUserId: string | null; toFeedId: string | null; toListId: string | null; toEntryId: string | null; toRSSHubId: string | null; tax: string; comment: string | null; }>; declare const transactionsRelations: drizzle_orm.Relations<"transactions", { fromUser: drizzle_orm.One<"user", false>; toUser: drizzle_orm.One<"user", false>; toFeed: drizzle_orm.One<"feeds", false>; fromWallet: drizzle_orm.One<"wallets", false>; toWallet: drizzle_orm.One<"wallets", false>; }>; declare const feedPowerTokens: drizzle_orm_pg_core.PgTableWithColumns<{ name: "feedPowerTokens"; schema: undefined; columns: { feedId: drizzle_orm_pg_core.PgColumn<{ name: "feed_id"; tableName: "feedPowerTokens"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; powerToken: drizzle_orm_pg_core.PgColumn<{ name: "power_token"; tableName: "feedPowerTokens"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const feedPowerTokensOpenAPISchema: zod.ZodObject<{ feedId: zod.ZodString; powerToken: zod.ZodString; }, zod.UnknownKeysParam, zod.ZodTypeAny, { feedId: string; powerToken: string; }, { feedId: string; powerToken: string; }>; declare const feedPowerTokensRelations: drizzle_orm.Relations<"feedPowerTokens", { feed: drizzle_orm.One<"feeds", true>; }>; declare const levels: drizzle_orm_pg_core.PgTableWithColumns<{ name: "levels"; schema: undefined; columns: { address: drizzle_orm_pg_core.PgColumn<{ name: "address"; tableName: "levels"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; rank: drizzle_orm_pg_core.PgColumn<{ name: "rank"; tableName: "levels"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; level: drizzle_orm_pg_core.PgColumn<{ name: "level"; tableName: "levels"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; prevActivityPoints: drizzle_orm_pg_core.PgColumn<{ name: "prev_activity_points"; tableName: "levels"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; activityPoints: drizzle_orm_pg_core.PgColumn<{ name: "activity_points"; tableName: "levels"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; powerToken: drizzle_orm_pg_core.PgColumn<{ name: "power_token"; tableName: "levels"; dataType: "string"; columnType: "PgNumeric"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core.PgColumn<{ name: "userId"; tableName: "levels"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const levelsOpenAPISchema: zod.ZodObject<{ address: zod.ZodString; rank: zod.ZodNullable; level: zod.ZodNullable; prevActivityPoints: zod.ZodNullable; activityPoints: zod.ZodNullable; powerToken: zod.ZodString; userId: zod.ZodString; }, zod.UnknownKeysParam, zod.ZodTypeAny, { userId: string; rank: number | null; powerToken: string; address: string; level: number | null; prevActivityPoints: number | null; activityPoints: number | null; }, { userId: string; rank: number | null; powerToken: string; address: string; level: number | null; prevActivityPoints: number | null; activityPoints: number | null; }>; declare const levelsRelations: drizzle_orm.Relations<"levels", { wallet: drizzle_orm.One<"wallets", true>; user: drizzle_orm.One<"user", true>; }>; declare const boosts: drizzle_orm_pg_core.PgTableWithColumns<{ name: "boosts"; schema: undefined; columns: { hash: drizzle_orm_pg_core.PgColumn<{ name: "hash"; tableName: "boosts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; expiresAt: drizzle_orm_pg_core.PgColumn<{ name: "expires_at"; tableName: "boosts"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const rsshubPurchase: drizzle_orm_pg_core.PgTableWithColumns<{ name: "rsshub_purchase"; schema: undefined; columns: { hash: drizzle_orm_pg_core.PgColumn<{ name: "hash"; tableName: "rsshub_purchase"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; expiresAt: drizzle_orm_pg_core.PgColumn<{ name: "expires_at"; tableName: "rsshub_purchase"; dataType: "date"; columnType: "PgTimestamp"; data: Date; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }; dialect: "pg"; }>; declare const auth: { handler: (request: Request) => Promise; api: better_auth.InferAPI<{ ok: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { ok: { type: string; }; }; }; }; }; }; }; }; isAction: false; }; } & { use: any[]; }; path: "/ok"; }; error: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "text/html": { schema: { type: "string"; }; }; }; }; }; }; isAction: false; }; } & { use: any[]; }; path: "/error"; }; signInSocial: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ callbackURL: zod.ZodOptional; newUserCallbackURL: zod.ZodOptional; errorCallbackURL: zod.ZodOptional; provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk")[]]>; disableRedirect: zod.ZodOptional; idToken: zod.ZodOptional; accessToken: zod.ZodOptional; refreshToken: zod.ZodOptional; expiresAt: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { token: string; accessToken?: string | undefined; refreshToken?: string | undefined; expiresAt?: number | undefined; nonce?: string | undefined; }, { token: string; accessToken?: string | undefined; refreshToken?: string | undefined; expiresAt?: number | undefined; nonce?: string | undefined; }>>; scopes: zod.ZodOptional>; requestSignUp: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; scopes?: string[] | undefined; idToken?: { token: string; accessToken?: string | undefined; refreshToken?: string | undefined; expiresAt?: number | undefined; nonce?: string | undefined; } | undefined; callbackURL?: string | undefined; requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; }, { provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; scopes?: string[] | undefined; idToken?: { token: string; accessToken?: string | undefined; refreshToken?: string | undefined; expiresAt?: number | undefined; nonce?: string | undefined; } | undefined; callbackURL?: string | undefined; requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; }>; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { session: { type: string; }; user: { type: string; }; url: { type: string; }; redirect: { type: string; }; }; required: string[]; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/sign-in/social"; }; callbackOAuth: { (...inputCtx: C): Promise; options: { method: ("GET" | "POST")[]; body: zod.ZodOptional; error: zod.ZodOptional; device_id: zod.ZodOptional; error_description: zod.ZodOptional; state: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { state?: string | undefined; code?: string | undefined; device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; }, { state?: string | undefined; code?: string | undefined; device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; }>>; query: zod.ZodOptional; error: zod.ZodOptional; device_id: zod.ZodOptional; error_description: zod.ZodOptional; state: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { state?: string | undefined; code?: string | undefined; device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; }, { state?: string | undefined; code?: string | undefined; device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; }>>; metadata: { isAction: false; }; } & { use: any[]; }; path: "/callback/:id"; }; getSession: { | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "GET"; query: zod.ZodOptional]>>>; disableRefresh: zod.ZodOptional]>>; }, "strip", zod.ZodTypeAny, { disableCookieCache?: boolean | undefined; disableRefresh?: boolean | undefined; }, { disableCookieCache?: string | boolean | undefined; disableRefresh?: string | boolean | undefined; }>>; requireHeaders: true; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { session: { type: string; properties: { token: { type: string; }; userId: { type: string; }; expiresAt: { type: string; }; }; }; user: { type: string; $ref: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/get-session"; }; signOut: { | undefined; params?: Record | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; requireHeaders: true; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { success: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/sign-out"; }; signUpEmail: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodRecord; metadata: { $Infer: { body: ({ name: string; email: string; password: string; } & ({} | ({} & {}) | ({} & { isAnonymous?: boolean | null | undefined; }))) & { handle: string; } & { handle?: string | null | undefined; }; }; openapi: { description: string; requestBody: { content: { "application/json": { schema: { type: "object"; properties: { name: { type: string; description: string; }; email: { type: string; description: string; }; password: { type: string; description: string; }; callbackURL: { type: string; description: string; }; }; required: string[]; }; }; }; }; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { id: { type: string; description: string; }; email: { type: string; description: string; }; name: { type: string; description: string; }; image: { type: string; description: string; }; emailVerified: { type: string; description: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/sign-up/email"; }; signInEmail: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ email: zod.ZodString; password: zod.ZodString; callbackURL: zod.ZodOptional; rememberMe: zod.ZodOptional>; }, "strip", zod.ZodTypeAny, { password: string; email: string; callbackURL?: string | undefined; rememberMe?: boolean | undefined; }, { password: string; email: string; callbackURL?: string | undefined; rememberMe?: boolean | undefined; }>; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { type: string; }; url: { type: string; }; redirect: { type: string; }; }; required: string[]; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/sign-in/email"; }; forgetPassword: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ email: zod.ZodString; redirectTo: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { email: string; redirectTo?: string | undefined; }, { email: string; redirectTo?: string | undefined; }>; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/forget-password"; }; resetPassword: { | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; query: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { token?: string | undefined; }, { token?: string | undefined; }>>; body: zod.ZodObject<{ newPassword: zod.ZodString; token: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { newPassword: string; token?: string | undefined; }, { newPassword: string; token?: string | undefined; }>; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/reset-password"; }; verifyEmail: { | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "GET"; query: zod.ZodObject<{ token: zod.ZodString; callbackURL: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { token: string; callbackURL?: string | undefined; }, { token: string; callbackURL?: string | undefined; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise)[]; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { type: string; }; status: { type: string; }; }; required: string[]; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/verify-email"; }; sendVerificationEmail: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ email: zod.ZodString; callbackURL: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { email: string; callbackURL?: string | undefined; }, { email: string; callbackURL?: string | undefined; }>; metadata: { openapi: { description: string; requestBody: { content: { "application/json": { schema: { type: "object"; properties: { email: { type: string; description: string; }; callbackURL: { type: string; description: string; }; }; required: string[]; }; }; }; }; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/send-verification-email"; }; changeEmail: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ newEmail: zod.ZodString; callbackURL: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { newEmail: string; callbackURL?: string | undefined; }, { newEmail: string; callbackURL?: string | undefined; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { type: string; }; status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/change-email"; }; changePassword: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ newPassword: zod.ZodString; currentPassword: zod.ZodString; revokeOtherSessions: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { newPassword: string; currentPassword: string; revokeOtherSessions?: boolean | undefined; }, { newPassword: string; currentPassword: string; revokeOtherSessions?: boolean | undefined; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { description: string; $ref: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/change-password"; }; setPassword: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ newPassword: zod.ZodString; }, "strip", zod.ZodTypeAny, { newPassword: string; }, { newPassword: string; }>; metadata: { SERVER_ONLY: true; }; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; } & { use: any[]; }; path: "/set-password"; }; updateUser: { >; method?: "POST" | undefined; query?: Record | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodRecord; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { $Infer: { body: Partial>; }; openapi: { description: string; requestBody: { content: { "application/json": { schema: { type: "object"; properties: { name: { type: string; description: string; }; image: { type: string; description: string; }; }; }; }; }; }; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/update-user"; }; deleteUser: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; body: zod.ZodObject<{ callbackURL: zod.ZodOptional; password: zod.ZodOptional; token: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { password?: string | undefined; token?: string | undefined; callbackURL?: string | undefined; }, { password?: string | undefined; token?: string | undefined; callbackURL?: string | undefined; }>; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/delete-user"; }; forgetPasswordCallback: { (...inputCtx: C): Promise; options: { method: "GET"; query: zod.ZodObject<{ callbackURL: zod.ZodString; }, "strip", zod.ZodTypeAny, { callbackURL: string; }, { callbackURL: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise)[]; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { token: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/reset-password/:token"; }; listSessions: { | undefined; params?: Record | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise[]; } : better_auth.Prettify<{ id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; }>[]>; options: { method: "GET"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; requireHeaders: true; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "array"; items: { type: string; properties: { token: { type: string; }; userId: { type: string; }; expiresAt: { type: string; }; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/list-sessions"; }; revokeSession: { | undefined; params?: Record | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ token: zod.ZodString; }, "strip", zod.ZodTypeAny, { token: string; }, { token: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; requireHeaders: true; metadata: { openapi: { description: string; requestBody: { content: { "application/json": { schema: { type: "object"; properties: { token: { type: string; }; }; required: string[]; }; }; }; }; }; }; } & { use: any[]; }; path: "/revoke-session"; }; revokeSessions: { | undefined; params?: Record | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; requireHeaders: true; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; required: string[]; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/revoke-sessions"; }; revokeOtherSessions: { | undefined; params?: Record | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; requireHeaders: true; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/revoke-other-sessions"; }; linkSocialAccount: { | undefined; params?: Record | undefined; request?: Request | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; requireHeaders: true; body: zod.ZodObject<{ callbackURL: zod.ZodOptional; provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk")[]]>; }, "strip", zod.ZodTypeAny, { provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; callbackURL?: string | undefined; }, { provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; callbackURL?: string | undefined; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { url: { type: string; }; redirect: { type: string; }; }; required: string[]; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/link-social"; }; listUserAccounts: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "array"; items: { type: string; properties: { id: { type: string; }; provider: { type: string; }; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/list-accounts"; }; deleteUserCallback: { | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "GET"; query: zod.ZodObject<{ token: zod.ZodString; callbackURL: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { token: string; callbackURL?: string | undefined; }, { token: string; callbackURL?: string | undefined; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise)[]; } & { use: any[]; }; path: "/delete-user/callback"; }; unlinkAccount: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ providerId: zod.ZodString; }, "strip", zod.ZodTypeAny, { providerId: string; }, { providerId: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; } & { use: any[]; }; path: "/unlink-account"; }; } & { customGetProviders: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/get-providers"; }; } & { customCreateSession: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/create-session"; }; } & { getAccountInfo: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/get-account-info"; }; } & { customUpdateUser: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; } & { use: any[]; }; path: "/update-user-ccc"; }; } & { enableTwoFactor: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { totpURI: { type: string; description: string; }; backupCodes: { type: string; items: { type: string; }; description: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/enable"; }; disableTwoFactor: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/disable"; }; verifyBackupCode: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; user: better_auth.User & Record; } & { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; } & { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }; } : { user: better_auth_plugins.UserWithTwoFactor; session: { session: better_auth.Session & Record; user: better_auth.User & Record; } & { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; } & { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; disableSession: zod.ZodOptional; trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }, { code: string; trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; } & { use: any[]; }; path: "/two-factor/verify-backup-code"; }; generateBackupCodes: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; } & { use: any[]; }; path: "/two-factor/generate-backup-codes"; }; viewBackupCodes: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "GET"; body: zod.ZodObject<{ userId: zod.ZodString; }, "strip", zod.ZodTypeAny, { userId: string; }, { userId: string; }>; metadata: { SERVER_ONLY: true; }; } & { use: any[]; }; path: "/two-factor/view-backup-codes"; }; sendTwoFactorOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { trustDevice?: boolean | undefined; }, { trustDevice?: boolean | undefined; }>>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/send-otp"; }; verifyTwoFactorOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; trustDevice?: boolean | undefined; }, { code: string; trustDevice?: boolean | undefined; }>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/verify-otp"; }; generateTOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { code: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/totp/generate"; }; getTOTPURI: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { totpURI: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/get-totp-uri"; }; verifyTOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; trustDevice?: boolean | undefined; }, { code: string; trustDevice?: boolean | undefined; }>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/verify-totp"; }; } & { signInAnonymous: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; metadata: { openapi: { description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { $ref: string; }; session: { $ref: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/sign-in/anonymous"; }; } & { getSession: { | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; metadata: { CUSTOM_SESSION: boolean; }; query: zod.ZodOptional]>>; disableRefresh: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { disableCookieCache?: boolean | undefined; disableRefresh?: boolean | undefined; }, { disableCookieCache?: string | boolean | undefined; disableRefresh?: boolean | undefined; }>>; } & { use: any[]; }; path: "/get-session"; }; }>; options: { appName: string; database: (options: better_auth.BetterAuthOptions) => { id: string; create, R = T>(data: { model: string; data: T; select?: string[]; }): Promise; findOne(data: { model: string; where: better_auth.Where[]; select?: string[]; }): Promise; findMany(data: { model: string; where?: better_auth.Where[]; limit?: number; sortBy?: { field: string; direction: "asc" | "desc"; }; offset?: number; }): Promise; count(data: { model: string; where?: better_auth.Where[]; }): Promise; update(data: { model: string; where: better_auth.Where[]; update: Record; }): Promise; updateMany(data: { model: string; where: better_auth.Where[]; update: Record; }): Promise; delete(data: { model: string; where: better_auth.Where[]; }): Promise; deleteMany(data: { model: string; where: better_auth.Where[]; }): Promise; options: better_auth_adapters_drizzle.DrizzleAdapterConfig; }; advanced: { generateId: false; defaultCookieAttributes: { sameSite: "none"; secure: true; }; }; session: { updateAge: number; expiresIn: number; }; basePath: string; trustedOrigins: string[]; user: { additionalFields: { handle: { type: "string"; }; }; changeEmail: { enabled: true; sendChangeEmailVerification: ({ user, url }: { user: better_auth.User; newEmail: string; url: string; token: string; }) => Promise; }; }; account: { accountLinking: { enabled: true; trustedProviders: ("github" | "apple" | "google")[]; }; }; socialProviders: { google: { clientId: string; clientSecret: string; }; github: { clientId: string; clientSecret: string; }; apple: { enabled: boolean; clientId: string; clientSecret: string; appBundleIdentifier: string | undefined; }; }; emailAndPassword: { enabled: true; sendResetPassword({ user, url }: { user: better_auth.User; url: string; token: string; }): Promise; }; emailVerification: { sendVerificationEmail({ user, url }: { user: better_auth.User; url: string; token: string; }): Promise; }; plugins: ({ id: "two-factor"; endpoints: { enableTwoFactor: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { totpURI: { type: string; description: string; }; backupCodes: { type: string; items: { type: string; }; description: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/enable"; }; disableTwoFactor: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/disable"; }; verifyBackupCode: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; user: better_auth.User & Record; } & { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; } & { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }; } : { user: better_auth_plugins.UserWithTwoFactor; session: { session: better_auth.Session & Record; user: better_auth.User & Record; } & { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; } & { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; disableSession: zod.ZodOptional; trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }, { code: string; trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; } & { use: any[]; }; path: "/two-factor/verify-backup-code"; }; generateBackupCodes: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; } & { use: any[]; }; path: "/two-factor/generate-backup-codes"; }; viewBackupCodes: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "GET"; body: zod.ZodObject<{ userId: zod.ZodString; }, "strip", zod.ZodTypeAny, { userId: string; }, { userId: string; }>; metadata: { SERVER_ONLY: true; }; } & { use: any[]; }; path: "/two-factor/view-backup-codes"; }; sendTwoFactorOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { trustDevice?: boolean | undefined; }, { trustDevice?: boolean | undefined; }>>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/send-otp"; }; verifyTwoFactorOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; trustDevice?: boolean | undefined; }, { code: string; trustDevice?: boolean | undefined; }>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/verify-otp"; }; generateTOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { code: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/totp/generate"; }; getTOTPURI: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; use: ((inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { password: string; }, { password: string; }>; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { totpURI: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/get-totp-uri"; }; verifyTOTP: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; }]>(...inputCtx: C): Promise; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; trustDevice?: boolean | undefined; }, { code: string; trustDevice?: boolean | undefined; }>; use: ((inputContext: { body: { trustDevice?: boolean | undefined; }; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; }; } | { valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ token: string; user: { id: string; email: string; emailVerified: boolean; name: string; image: string | null | undefined; createdAt: Date; updatedAt: Date; }; }>; invalid: () => Promise; session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; }>)[]; metadata: { openapi: { summary: string; description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/two-factor/verify-totp"; }; }; options: better_auth_plugins.TwoFactorOptions | undefined; hooks: { after: { matcher(context: better_auth.HookEndpointContext): boolean; handler: (inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise<{ twoFactorRedirect: boolean; } | undefined>; }[]; }; schema: { user: { fields: { twoFactorEnabled: { type: "boolean"; required: false; defaultValue: false; input: false; }; }; }; twoFactor: { fields: { secret: { type: "string"; required: true; returned: false; }; backupCodes: { type: "string"; required: true; returned: false; }; userId: { type: "string"; required: true; returned: false; references: { model: string; field: string; }; }; }; }; }; rateLimit: { pathMatcher(path: string): boolean; window: number; max: number; }[]; } | { id: "expo"; init: (ctx: better_auth.AuthContext) => { options: { trustedOrigins: string[]; }; }; onRequest(request: Request, ctx: better_auth.AuthContext): Promise<{ request: Request; } | undefined>; hooks: { after: { matcher(context: better_auth.HookEndpointContext): boolean; handler: (inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise; }[]; }; } | { id: "anonymous"; endpoints: { signInAnonymous: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; metadata: { openapi: { description: string; responses: { 200: { description: string; content: { "application/json": { schema: { type: "object"; properties: { user: { $ref: string; }; session: { $ref: string; }; }; }; }; }; }; }; }; }; } & { use: any[]; }; path: "/sign-in/anonymous"; }; }; hooks: { after: { matcher(ctx: better_auth.HookEndpointContext): boolean; handler: (inputContext: { body?: any; query?: Record | undefined; request?: Request | undefined; headers?: Headers | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; }) => Promise; }[]; }; schema: { user: { fields: { isAnonymous: { type: "boolean"; required: false; }; }; }; }; $ERROR_CODES: { readonly FAILED_TO_CREATE_USER: "Failed to create user"; readonly COULD_NOT_CREATE_SESSION: "Could not create session"; readonly ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY: "Anonymous users cannot sign in again anonymously"; }; } | { id: "custom-session"; endpoints: { getSession: { | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; metadata: { CUSTOM_SESSION: boolean; }; query: zod.ZodOptional]>>; disableRefresh: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { disableCookieCache?: boolean | undefined; disableRefresh?: boolean | undefined; }, { disableCookieCache?: string | boolean | undefined; disableRefresh?: boolean | undefined; }>>; } & { use: any[]; }; path: "/get-session"; }; }; } | { id: "customGetProviders"; endpoints: { customGetProviders: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/get-providers"; }; }; } | { id: "customCreateSession"; endpoints: { customCreateSession: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/create-session"; }; }; } | { id: "getAccountInfo"; endpoints: { getAccountInfo: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "GET"; } & { use: any[]; }; path: "/get-account-info"; }; }; } | { id: "customUpdateUser"; endpoints: { customUpdateUser: { | undefined; params?: Record | undefined; request?: Request | undefined; headers?: HeadersInit | undefined; asResponse?: boolean | undefined; returnHeaders?: boolean | undefined; use?: better_call.Middleware[] | undefined; path?: string | undefined; } | undefined)?]>(...inputCtx: C): Promise; options: { method: "POST"; } & { use: any[]; }; path: "/update-user-ccc"; }; }; })[]; }; $context: Promise; $Infer: { Session: { session: { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; }; user: { id: string; name: string; email: string; emailVerified: boolean; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; handle: string; twoFactorEnabled: boolean | null | undefined; isAnonymous?: boolean | null | undefined; }; }; }; $ERROR_CODES: { readonly FAILED_TO_CREATE_USER: "Failed to create user"; readonly COULD_NOT_CREATE_SESSION: "Could not create session"; readonly ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY: "Anonymous users cannot sign in again anonymously"; } & { USER_NOT_FOUND: string; FAILED_TO_CREATE_USER: string; FAILED_TO_CREATE_SESSION: string; FAILED_TO_UPDATE_USER: string; FAILED_TO_GET_SESSION: string; INVALID_PASSWORD: string; INVALID_EMAIL: string; INVALID_EMAIL_OR_PASSWORD: string; SOCIAL_ACCOUNT_ALREADY_LINKED: string; PROVIDER_NOT_FOUND: string; INVALID_TOKEN: string; ID_TOKEN_NOT_SUPPORTED: string; FAILED_TO_GET_USER_INFO: string; USER_EMAIL_NOT_FOUND: string; EMAIL_NOT_VERIFIED: string; PASSWORD_TOO_SHORT: string; PASSWORD_TOO_LONG: string; USER_ALREADY_EXISTS: string; EMAIL_CAN_NOT_BE_UPDATED: string; CREDENTIAL_ACCOUNT_NOT_FOUND: string; SESSION_EXPIRED: string; FAILED_TO_UNLINK_LAST_ACCOUNT: string; ACCOUNT_NOT_FOUND: string; }; }; type AuthSession = Awaited>; type AuthUser = NonNullable["user"]; declare const _routes: hono_hono_base.HonoBase | hono_types.MergeSchemaPath<{ "/": { $get: { input: {}; output: { code: 0; data?: { userId: string; rules?: { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }[] | null | undefined; } | undefined; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $put: { input: { json: { rules?: { name: string; condition: { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | { value: string; field: "title" | "view" | "site_url" | "feed_url" | "category" | "entry_title" | "entry_content" | "entry_url" | "entry_author" | "entry_media_length"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[][]; result: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; blockRules?: { value: string | number; field: "title" | "all" | "content" | "author" | "url" | "order"; operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"; }[] | undefined; webhooks?: string[] | undefined; }; }[] | null | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/actions"> | hono_types.MergeSchemaPath<{ "/translation": { $get: { input: { query: { id: string; language: "en" | "ja" | "zh-CN" | "zh-TW"; fields: string; part?: string | undefined; }; }; output: { code: 0; data?: { description?: string | undefined; title?: string | undefined; content?: string | undefined; } | undefined; }; outputFormat: "json"; status: 200; }; }; } & { "/summary": { $get: { input: { query: { id: string; language?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; }; }; output: { code: 0; data?: string | undefined; }; outputFormat: "json"; status: 200; }; }; } & { "/daily": { $get: { input: { query: { view: "0" | "1"; startDate: string; }; }; output: { code: 0; data: string; }; outputFormat: "json"; status: 200; }; }; }, "/ai"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { view?: string | undefined; }; }; output: { data?: string[] | undefined; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $delete: { input: { json: { feedIdList: string[]; deleteSubscriptions: boolean; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $patch: { input: { json: { category: string; feedIdList: string[]; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/categories"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { entryId: string; }; }; output: { code: 0; data: boolean; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $post: { input: { json: { entryId: string; view?: number | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $delete: { input: { json: { entryId: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/collections"> | hono_types.MergeSchemaPath<{ "/": { $post: { input: { json: { keyword: string; target?: "feeds" | "lists" | undefined; }; }; output: { data: { entries?: { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; feedId: string; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }[] | undefined; feed?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; } | undefined; list?: { id: string; type: "list"; view: number; feedIds: string[]; fee: number; timelineUpdatedAt: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; feeds?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }[] | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; } | undefined; docs?: string | undefined; isSubscribed?: boolean | undefined; subscriptionCount?: number | undefined; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/rsshub": { $get: { input: { query: { category?: string | undefined; categories?: string | undefined; namespace?: string | undefined; lang?: string | undefined; }; }; output: { data: { [x: string]: { name: string; description: string; url: string; lang: string; routes: { [x: string]: { path: string; name: string; example: string; description: string; categories: string[]; parameters: { [x: string]: string; }; maintainers: string[]; location: string; view?: number | undefined; }; }; }; }; }; outputFormat: "json"; status: 200; }; }; } & { "/rsshub/route": { $get: { input: { query: { route: string; }; }; output: { data: { name: string; description: string; url: string; prefix: string; route?: any; }; }; outputFormat: "json"; status: 200; }; }; }, "/discover"> | hono_types.MergeSchemaPath & hono_types.MergeSchemaPath<{ "/:id": { $get: { input: { param: { id?: any; }; } & { query: { size?: number | undefined; page?: number | undefined; }; }; output: { code: 0; data: { users: { [x: string]: { id: string; name: string | null; image: string | null; handle: string | null; }; }; entryReadHistories: { userIds: string[]; readCount: number; } | null; total: number; }; }; outputFormat: "json"; status: 200; }; }; }, "/read-histories"> & hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { insertedAfter: number; view?: number | undefined; feedId?: string | undefined; read?: string | undefined; feedIdList?: string[] | undefined; }; }; output: { code: 0; data: { has_new: boolean; entry_id?: string | undefined; lastest_at?: string | undefined; }; }; outputFormat: "json"; status: 200; }; }; }, "/check-new"> & { "/": { $post: { input: { json: { view?: number | undefined; feedId?: string | undefined; read?: boolean | undefined; listId?: string | undefined; limit?: number | undefined; feedIdList?: string[] | undefined; publishedAfter?: string | undefined; publishedBefore?: string | undefined; collected?: boolean | undefined; isCollection?: boolean | undefined; isArchived?: boolean | undefined; withContent?: boolean | undefined; }; }; output: { code: 0; data?: { entries: { id: string; description: string | null; title: string | null; author: string | null; url: string | null; language: string | null; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }; feeds: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }; read: boolean | null; view?: number | undefined; from?: string[] | undefined; collections?: { createdAt: string; } | undefined; settings?: { disabled?: boolean | undefined; translation?: "en" | "ja" | "zh-CN" | "zh-TW" | undefined; summary?: boolean | undefined; readability?: boolean | undefined; sourceContent?: boolean | undefined; silence?: boolean | undefined; block?: boolean | undefined; newEntryNotification?: boolean | undefined; rewriteRules?: { from: string; to: string; }[] | undefined; webhooks?: string[] | undefined; } | undefined; }[] | undefined; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $get: { input: { query: { id: string; }; }; output: { code: 0; data?: { entries: { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }; feeds: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }; } | undefined; }; outputFormat: "json"; status: 200; }; }; } & { "/stream": { $post: { input: { json: { ids: string[]; }; }; output: {}; outputFormat: "text"; status: 200; }; }; } & { "/preview": { $get: { input: { query: { id: string; }; }; output: { code: 0; data: { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; language: string | null; feedId: string; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }[]; }; outputFormat: "json"; status: 200; }; }; }, "/entries"> | hono_types.MergeSchemaPath & { "/": { $get: { input: { query: { id?: string | undefined; url?: string | undefined; }; }; output: { code: 0; data: { entries: { description: string | null; title: string | null; author: string | null; url: string | null; language: string | null; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }[]; readCount: number; feed: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }; subscriptionCount: number; subscription?: { createdAt: string; userId: string; title: string | null; view: number; category: string | null; feedId: string; isPrivate: boolean; } | undefined; }; }; outputFormat: "json"; status: 200; }; }; } & { "/refresh": { $get: { input: { query: { id: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/reset": { $get: { input: { query: { id: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/feeds"> | hono_types.MergeSchemaPath<{ "/new": { $post: { input: { json: { TOTPCode?: string | undefined; }; }; output: { code: 0; data: string; }; outputFormat: "json"; status: 200; }; }; } & { "/use": { $post: { input: { json: { code: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $get: { input: {}; output: { code: 0; data: { code: string; createdAt: string | null; users: { id: string; name: string | null; image: string | null; } | null; usedAt: string | null; toUserId: string | null; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/limitation": { $get: { input: {}; output: { code: 0; data: number; }; outputFormat: "json"; status: 200; }; }; }, "/invitations"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { id?: string | undefined; handle?: string | undefined; }; }; output: { code: 0; data: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }; }; outputFormat: "json"; status: 200; }; }; } & { "/batch": { $post: { input: { json: { ids: string[]; }; }; output: { code: 0; data: { [x: string]: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }; }; }; outputFormat: "json"; status: 200; }; }; }, "/profiles"> | hono_types.MergeSchemaPath<{ "/": { $post: { input: { json: { entryIds: string[]; isInbox?: boolean | undefined; readHistories?: string[] | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $delete: { input: { json: { entryId: string; isInbox?: boolean | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $get: { input: { query: { view?: string | undefined; }; }; output: { code: 0; data: { [x: string]: number; }; }; outputFormat: "json"; status: 200; }; }; } & { "/all": { $post: { input: { json: { view?: number | undefined; feedId?: string | undefined; listId?: string | undefined; feedIdList?: string[] | undefined; inboxId?: string | undefined; startTime?: number | undefined; endTime?: number | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/total-count": { $get: { input: {}; output: { code: 0; data: { count: number; }; }; outputFormat: "json"; status: 200; }; }; }, "/reads"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { tab?: "general" | "appearance" | "integration" | undefined; }; }; output: { code: 0; settings: { [x: string]: any; }; updated: { [x: string]: string; }; }; outputFormat: "json"; status: 200; }; }; } & { "/:tab": { $patch: { input: { param: { tab: string; }; } & { json: Record; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/settings"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { userId?: string | undefined; view?: string | undefined; }; }; output: { code: 0; data: ({ createdAt: string; userId: string; title: string | null; view: number; category: string | null; feeds: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }; feedId: string; isPrivate: boolean; boost: { boosters: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }[]; }; } | { createdAt: string; userId: string; title: string | null; view: number; feedId: string; isPrivate: boolean; lists: { id: string; type: "list"; view: number; feedIds: string[]; fee: number; timelineUpdatedAt: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; feeds?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }[] | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; }; listId: string; category?: string | undefined; } | { createdAt: string; userId: string; title: string | null; view: number; category: string | null; feedId: string; isPrivate: boolean; inboxes: { id: string; type: "inbox"; secret: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; }; inboxId: string; })[]; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $post: { input: { json: { view: number; title?: string | null | undefined; category?: string | null | undefined; url?: string | undefined; isPrivate?: boolean | undefined; listId?: string | undefined; TOTPCode?: string | undefined; }; }; output: { code: 0; feed: { id: string; image: string | null; description: string | null; title: string | null; url: string; siteUrl: string | null; checkedAt: string; lastModifiedHeader: string | null; etagHeader: string | null; ttl: number | null; errorMessage: string | null; errorAt: string | null; ownerUserId: string | null; language: string | null; migrateTo: string | null; } | null; list: { id: string; image: string | null; description: string | null; title: string; view: number; ownerUserId: string; language: string | null; feedIds: string[]; fee: number; timelineUpdatedAt: string; } | null; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $delete: { input: { json: { url?: string | undefined; feedId?: string | undefined; listId?: string | undefined; feedIdList?: string[] | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $patch: { input: { json: { view: number; title?: string | null | undefined; category?: string | null | undefined; feedId?: string | undefined; isPrivate?: boolean | undefined; listId?: string | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/export": { $get: { input: { query: { RSSHubURL?: string | undefined; folderMode?: "view" | "category" | undefined; }; }; output: {}; outputFormat: string; status: 200; }; }; } & { "/import": { $post: { input: {}; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/batch": { $patch: { input: { json: { view: number; feedIds: string[]; title?: string | null | undefined; category?: string | null | undefined; isPrivate?: boolean | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/subscriptions"> | hono_types.MergeSchemaPath & hono_types.MergeSchemaPath<{ "/tip": { $post: { input: { json: { amount: string; entryId: string; TOTPCode?: string | undefined; }; }; output: { code: 0; data: { transactionHash: string; }; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $get: { input: { query: { type?: "tip" | "mint" | "burn" | "withdraw" | "purchase" | "airdrop" | undefined; hash?: string | undefined; fromUserId?: string | undefined; toUserId?: string | undefined; toFeedId?: string | undefined; fromOrToUserId?: string | undefined; createdAfter?: string | undefined; }; }; output: { code: 0; data: { createdAt: string; type: "tip" | "mint" | "burn" | "withdraw" | "purchase" | "airdrop"; hash: string; powerToken: string; fromUserId: string | null; toUserId: string | null; toFeedId: string | null; toListId: string | null; toEntryId: string | null; toRSSHubId: string | null; tax: string; comment: string | null; fromUser?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; } | null | undefined; toUser?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; } | null | undefined; toFeed?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; } | null | undefined; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/claim_daily": { $post: { input: { json: { t2?: string | undefined; t3?: string | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/withdraw": { $post: { input: { json: { amount: string; address: string; TOTPCode?: string | undefined; toRss3?: boolean | undefined; }; }; output: { code: 0; data: { transactionHash: string; }; }; outputFormat: "json"; status: 200; }; }; } & { "/claim-check": { $get: { input: {}; output: { code: 0; data: boolean; }; outputFormat: "json"; status: 200; }; }; }, "/transactions"> & { "/": { $get: { input: {}; output: { code: 0; data: { createdAt: string; userId: string; powerToken: string; addressIndex: number; address: string | null; dailyPowerToken: string; cashablePowerToken: string; level: { rank: number | null; level: number | null; prevActivityPoints: number | null; activityPoints: number | null; } | null; todayDailyPower: string; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $post: { input: {}; output: { code: 0; data: string; }; outputFormat: "json"; status: 200; }; }; } & { "/refresh": { $post: { input: {}; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/ranking": { $get: { input: {}; output: { code: 0; data: { user: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }; userId: string; rank: number | null; powerToken: string; address: string; level: number | null; prevActivityPoints: number | null; activityPoints: number | null; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/power-price": { $get: { input: {}; output: { code: 0; data: { rss3: number; }; }; outputFormat: "json"; status: 200; }; }; }, "/wallets"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { listId: string; noExtras?: boolean | undefined; }; }; output: { code: 0; data: { entries: { id: string; description: string | null; title: string | null; content: string | null; author: string | null; url: string | null; feeds: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }; language: string | null; feedId: string; guid: string; categories: string[] | null; authorUrl: string | null; authorAvatar: string | null; insertedAt: string; publishedAt: string; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; }[]; readCount: number; list: { id: string; type: "list"; view: number; feedIds: string[]; fee: number; timelineUpdatedAt: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; feeds?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }[] | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; }; subscriptionCount: number; feedCount: number; subscription?: { createdAt: string; userId: string; title: string | null; view: number; isPrivate: boolean; listId: string; } | undefined; }; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $post: { input: { json: { title: string; view: number; fee: number; image?: string | null | undefined; description?: string | null | undefined; }; }; output: { code: 0; data: { id: string; type: "list"; view: number; feedIds: string[]; fee: number; timelineUpdatedAt: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; feeds?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }[] | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; }; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $delete: { input: { json: { listId: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $patch: { input: { json: { title: string; view: number; fee: number; listId: string; image?: string | null | undefined; description?: string | null | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/list": { $get: { input: {}; output: { code: 0; data: { id: string; type: "list"; view: number; feedIds: string[]; fee: number; timelineUpdatedAt: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; feeds?: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }[] | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; subscriptionCount?: number | undefined; purchaseAmount?: number | undefined; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/feeds": { $post: { input: { json: { feedId: string; listId: string; } | { feedIds: string[]; listId: string; }; }; output: { code: 0; data: { id: string; type: "feed"; url: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; siteUrl?: string | null | undefined; errorMessage?: string | null | undefined; errorAt?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; tipUsers?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; }[] | null | undefined; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/feeds": { $delete: { input: { json: { feedId: string; listId: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/lists"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: {}; output: {}; outputFormat: "text"; status: 200; }; }; } & { "/pools": { $get: { input: {}; output: { code: 0; data: { totalCount: number; idleCount: number; waitingCount: number; }[]; }; outputFormat: "json"; status: 200; }; }; }, "/metrics"> | hono_types.MergeSchemaPath<{ "/clean": { $post: { input: { json: { type: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/mintdscsafr": { $post: { input: { json: { userId: string; amount: number; key: string; comment?: string | undefined; }; }; output: { code: 0; data: string; }; outputFormat: "json"; status: 200; }; }; }, "/admin"> | hono_types.MergeSchemaPath<{ "/": { $delete: { input: { json: { handle: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $get: { input: { query: { handle: string; }; }; output: { code: 0; data: { id: string; type: "inbox"; secret: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; }; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $post: { input: { json: { handle: string; title?: string | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/webhook": { $post: { input: { json: { guid: string; publishedAt: string; description?: string | null | undefined; title?: string | null | undefined; content?: string | null | undefined; author?: string | null | undefined; url?: string | null | undefined; language?: string | null | undefined; media?: { type: "photo" | "video"; url: string; width?: number | undefined; height?: number | undefined; preview_image_url?: string | undefined; blurhash?: string | undefined; }[] | null | undefined; categories?: string[] | null | undefined; attachments?: { url: string; title?: string | undefined; duration_in_seconds?: number | undefined; mime_type?: string | undefined; size_in_bytes?: number | undefined; }[] | null | undefined; extra?: { links?: { type: string; url: string; content_html?: string | undefined; }[] | null | undefined; } | null | undefined; authorUrl?: string | null | undefined; authorAvatar?: string | null | undefined; read?: boolean | null | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/email": { $post: { input: { json: { date: string; from: { name?: string | undefined; address?: string | undefined; }; to: { address: string; }; messageId: string; subject?: string | undefined; html?: string | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $put: { input: { json: { handle: string; title: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/list": { $get: { input: {}; output: { code: 0; data: { id: string; type: "inbox"; secret: string; image?: string | null | undefined; description?: string | null | undefined; title?: string | null | undefined; ownerUserId?: string | null | undefined; owner?: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; suspended: boolean | null; } | null | undefined; }[]; }; outputFormat: "json"; status: 200; }; }; }, "/inboxes"> | hono_types.MergeSchemaPath<{ "/": { $post: { input: { json: { token: string; channel: "desktop" | "mobile"; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/test": { $get: { input: {}; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; }, "/messaging"> | hono_types.MergeSchemaPath<{ "/configs": { $get: { input: {}; output: { code: 0; data: { MAX_SUBSCRIPTIONS: number; MAX_LISTS: number; MAX_ACTIONS: number; MAX_WEBHOOKS_PER_ACTION: number; MAX_INBOXES: number; IMPORTING_TITLE: string; DAILY_POWER_PERCENTAGES: number[]; LEVEL_PERCENTAGES: number[]; DAILY_CLAIM_AMOUNT: { trial: number; normal: number; }; TAX_POINT: string; INVITATION_INTERVAL_DAYS: number; INVITATION_PRICE: number; DAILY_POWER_SUPPLY: number; IS_RSS3_TESTNET: boolean; PRODUCT_HUNT_VOTE_URL: string; ANNOUNCEMENT: string; MAX_TRIAL_USER_FEED_SUBSCRIPTION: number; MAX_TRIAL_USER_LIST_SUBSCRIPTION: number; }; }; outputFormat: "json"; status: 200; }; }; }, "/status"> | hono_types.MergeSchemaPath<{ "/": { $get: { input: { query: { feedId: string; }; }; output: { code: 0; data: { level: number; monthlyBoostCost: number; boostCount: number; remainingBoostsToLevelUp: number; lastValidBoost: { hash: string | null; expiresAt: string; } | null; }; }; outputFormat: "json"; status: 200; }; }; } & { "/boosters": { $get: { input: { query: { feedId: string; }; }; output: { code: 0; data: { id: string; name: string | null; emailVerified: boolean | null; image: string | null; handle: string | null; createdAt: string; updatedAt: string; twoFactorEnabled: boolean | null; isAnonymous: boolean | null; suspended: boolean | null; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $post: { input: { json: { amount: string; feedId: string; TOTPCode?: string | undefined; }; }; output: { code: 0; data: { expiresAt: string; transactionHash: string; }; }; outputFormat: "json"; status: 200; }; }; }, "boosts"> | hono_types.MergeSchemaPath<{ "/postgresql": { $get: { input: {}; output: { code: 0; data: number; }; outputFormat: "json"; status: 200; }; }; } & { "/redis": { $get: { input: {}; output: { code: 0; data: number; }; outputFormat: "json"; status: 200; }; }; } & { "/bullmq": { $get: { input: { query: { name: "follow-queue" | "admin-wallet-queue"; }; }; output: { code: 0; data: { completed: number; wait: number; failed: number; }; }; outputFormat: "json"; status: 200; }; }; }, "/probes"> | hono_types.MergeSchemaPath<{ "/": { $post: { input: { json: { baseUrl: string; id?: string | undefined; accessKey?: string | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/list": { $get: { input: {}; output: { code: 0; data: { id: string; description: string | null; ownerUserId: string; owner: { id: string; name: string | null; image: string | null; handle: string | null; } | null; price: number; userLimit: number | null; userCount: number; }[]; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $delete: { input: { json: { id: string; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/use": { $post: { input: { json: { id: string | null; TOTPCode?: string | undefined; durationInMonths?: number | undefined; }; }; output: { code: 0; }; outputFormat: "json"; status: 200; }; }; } & { "/": { $get: { input: { query: { id: string; }; }; output: { code: 0; data: { purchase: { hash: string | null; expiresAt: string; } | null; instance: { id: string; description: string | null; ownerUserId: string; price: number; userLimit: number | null; baseUrl?: string | null | undefined; accessKey?: string | null | undefined; }; }; }; outputFormat: "json"; status: 200; }; }; } & { "/status": { $get: { input: {}; output: { code: 0; data: { purchase: { hash: string | null; expiresAt: string; } | null; usage?: { id: string; userId: string; rsshubId: string; } | undefined; }; }; outputFormat: "json"; status: 200; }; }; }, "/rsshub"> | hono_types.MergeSchemaPath<{ "/avatar": { $post: { input: {}; output: { code: 0; url: string; }; outputFormat: "json"; status: 200; }; }; }, "/upload">, "/">; type AppType = typeof _routes; export { type ActionsModel, type AirdropActivity, type AppType, type AttachmentsModel, type AuthSession, type AuthUser, CommonEntryFields, type ConditionItem, type DetailModel, type EntriesModel, type EntryReadHistoriesModel, type ExtraModel, type FeedModel, type ListModel, type MediaModel, type MessagingData, MessagingType, type SettingsModel, type UrlReadsModel, account, achievements, achievementsOpenAPISchema, actions, actionsItemOpenAPISchema, actionsOpenAPISchema, actionsRelations, activityEnum, airdrops, airdropsOpenAPISchema, attachmentsZodSchema, authPlugins, boosts, captcha, collections, collectionsOpenAPISchema, collectionsRelations, detailModelSchema, entries, entriesOpenAPISchema, entriesRelations, entryReadHistories, entryReadHistoriesOpenAPISchema, entryReadHistoriesRelations, extraZodSchema, feedPowerTokens, feedPowerTokensOpenAPISchema, feedPowerTokensRelations, feeds, feedsOpenAPISchema, feedsRelations, inboxHandleSchema, inboxes, inboxesEntries, inboxesEntriesInsertOpenAPISchema, type inboxesEntriesModel, inboxesEntriesOpenAPISchema, inboxesEntriesRelations, inboxesOpenAPISchema, inboxesRelations, invitations, invitationsOpenAPISchema, invitationsRelations, languageSchema, levels, levelsOpenAPISchema, levelsRelations, lists, listsOpenAPISchema, listsRelations, listsSubscriptions, listsSubscriptionsOpenAPISchema, listsSubscriptionsRelations, lower, mediaZodSchema, messaging, messagingOpenAPISchema, messagingRelations, rsshub, rsshubOpenAPISchema, rsshubPurchase, rsshubUsage, rsshubUsageOpenAPISchema, rsshubUsageRelations, session, settings, subscriptions, subscriptionsOpenAPISchema, subscriptionsRelations, timeline, timelineOpenAPISchema, timelineRelations, transactionType, transactions, transactionsOpenAPISchema, transactionsRelations, twoFactor, uploads, urlReads, urlReadsOpenAPISchema, user, users, usersOpenApiSchema, usersRelations, verification, wallets, walletsOpenAPISchema, walletsRelations };