import { z } from "@hono/zod-openapi";
import * as drizzle_orm_pg_core2396 from "drizzle-orm/pg-core";
import * as drizzle_zod407 from "drizzle-zod";

//#region src/validation/schemas/skills.d.ts
declare const SkillIndexSchema: z.ZodInt;
declare const SkillFrontmatterSchema: z.ZodObject<{
  name: z.ZodString;
  description: z.ZodString;
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
}, z.core.$loose>;
declare const SkillSelectSchema: z.ZodObject<{
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  id: z.ZodString;
  name: z.ZodString;
  description: z.ZodString;
  content: z.ZodString;
  projectId: z.ZodString;
  tenantId: z.ZodString;
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
}, {
  out: {};
  in: {};
}>;
declare const SkillFileContentInputSchema: z.ZodObject<{
  filePath: z.ZodString;
  content: z.ZodString;
}, z.core.$strip>;
declare const SkillFileSelectSchema: drizzle_zod407.BuildSchema<"select", {
  createdAt: drizzle_orm_pg_core2396.PgColumn<{
    name: "created_at";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgTimestampString";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: true;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: undefined;
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {}>;
  updatedAt: drizzle_orm_pg_core2396.PgColumn<{
    name: "updated_at";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgTimestampString";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: true;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: undefined;
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {}>;
  skillId: drizzle_orm_pg_core2396.PgColumn<{
    name: "skill_id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 64;
  }>;
  filePath: drizzle_orm_pg_core2396.PgColumn<{
    name: "file_path";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 1024;
  }>;
  content: drizzle_orm_pg_core2396.PgColumn<{
    name: "content";
    tableName: "skill_files";
    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;
  }, {}, {}>;
  projectId: drizzle_orm_pg_core2396.PgColumn<{
    name: "project_id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 256;
  }>;
  tenantId: drizzle_orm_pg_core2396.PgColumn<{
    name: "tenant_id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 256;
  }>;
  id: drizzle_orm_pg_core2396.PgColumn<{
    name: "id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 256;
  }>;
}, drizzle_zod407.BuildRefine<{
  createdAt: drizzle_orm_pg_core2396.PgColumn<{
    name: "created_at";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgTimestampString";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: true;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: undefined;
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {}>;
  updatedAt: drizzle_orm_pg_core2396.PgColumn<{
    name: "updated_at";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgTimestampString";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: true;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: undefined;
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {}>;
  skillId: drizzle_orm_pg_core2396.PgColumn<{
    name: "skill_id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 64;
  }>;
  filePath: drizzle_orm_pg_core2396.PgColumn<{
    name: "file_path";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 1024;
  }>;
  content: drizzle_orm_pg_core2396.PgColumn<{
    name: "content";
    tableName: "skill_files";
    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;
  }, {}, {}>;
  projectId: drizzle_orm_pg_core2396.PgColumn<{
    name: "project_id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 256;
  }>;
  tenantId: drizzle_orm_pg_core2396.PgColumn<{
    name: "tenant_id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 256;
  }>;
  id: drizzle_orm_pg_core2396.PgColumn<{
    name: "id";
    tableName: "skill_files";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: true;
    hasDefault: false;
    isPrimaryKey: false;
    isAutoincrement: false;
    hasRuntimeDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
    identity: undefined;
    generated: undefined;
  }, {}, {
    length: 256;
  }>;
}, undefined>, undefined>;
declare const SkillFileInsertSchema: z.ZodObject<{
  createdAt: z.ZodOptional<z.ZodString>;
  updatedAt: z.ZodOptional<z.ZodString>;
  projectId: z.ZodString;
  tenantId: z.ZodString;
  id: z.ZodString;
  skillId: z.ZodString;
  filePath: z.ZodString;
  content: z.ZodString;
}, {
  out: {};
  in: {};
}>;
declare const SkillInsertSchema: z.ZodObject<{
  name: z.ZodString;
  description: z.ZodString;
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
  content: z.ZodString;
}, {
  out: {};
  in: {};
}>;
declare const SkillUpdateSchema: z.ZodObject<{
  files: z.ZodArray<z.ZodObject<{
    filePath: z.ZodString;
    content: z.ZodString;
  }, z.core.$strip>>;
}, z.core.$strip>;
declare const SkillApiSelectSchema: z.ZodObject<{
  id: z.ZodString;
  name: z.ZodString;
  description: z.ZodString;
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
  content: z.ZodString;
}, z.core.$strip>;
declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
  files: z.ZodArray<z.ZodObject<{
    filePath: z.ZodString;
    content: z.ZodString;
  }, z.core.$strip>>;
}, z.core.$strip>, z.ZodTransform<{
  name: string;
  description: string;
  metadata: Record<string, string> | null;
  content: string;
  files: {
    filePath: string;
    content: string;
  }[];
}, {
  files: {
    filePath: string;
    content: string;
  }[];
}>>, z.ZodObject<{
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
  files: z.ZodArray<z.ZodObject<{
    filePath: z.ZodString;
    content: z.ZodString;
  }, z.core.$strip>>;
  name: z.ZodString;
  description: z.ZodString;
  content: z.ZodString;
}, z.core.$strict>>;
declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
  files: z.ZodArray<z.ZodObject<{
    filePath: z.ZodString;
    content: z.ZodString;
  }, z.core.$strip>>;
}, z.core.$strip>, z.ZodTransform<any, {
  files: {
    filePath: string;
    content: string;
  }[];
}>>, z.ZodObject<{
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
  name: z.ZodOptional<z.ZodString>;
  description: z.ZodOptional<z.ZodString>;
  content: z.ZodOptional<z.ZodString>;
  files: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
    filePath: z.ZodString;
    content: z.ZodString;
  }, z.core.$strip>>>>;
}, z.core.$strict>>;
declare const SkillFileApiSelectSchema: z.ZodObject<{
  id: z.ZodString;
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  content: z.ZodString;
  filePath: z.ZodString;
  skillId: z.ZodString;
}, z.core.$strip>;
declare const SkillFileApiInsertSchema: z.ZodObject<{
  filePath: z.ZodString;
  content: z.ZodString;
}, z.core.$strip>;
declare const SkillFileApiUpdateSchema: z.ZodObject<{
  content: z.ZodString;
}, z.core.$strip>;
declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
  id: z.ZodString;
  name: z.ZodString;
  description: z.ZodString;
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
  content: z.ZodString;
  files: z.ZodArray<z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodString;
    updatedAt: z.ZodString;
    content: z.ZodString;
    filePath: z.ZodString;
    skillId: z.ZodString;
  }, z.core.$strip>>;
}, z.core.$strip>;
declare const SubAgentSkillSelectSchema: z.ZodObject<{
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  skillId: z.ZodString;
  alwaysLoaded: z.ZodBoolean;
  subAgentId: z.ZodString;
  agentId: z.ZodString;
  projectId: z.ZodString;
  tenantId: z.ZodString;
  id: z.ZodString;
  index: z.ZodInt;
}, {
  out: {};
  in: {};
}>;
declare const SubAgentSkillInsertSchema: z.ZodObject<{
  createdAt: z.ZodOptional<z.ZodString>;
  updatedAt: z.ZodOptional<z.ZodString>;
  agentId: z.ZodString;
  projectId: z.ZodString;
  tenantId: z.ZodString;
  id: z.ZodString;
  subAgentId: z.ZodString;
  skillId: z.ZodString;
  index: z.ZodInt;
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, {
  out: {};
  in: {};
}>;
declare const SubAgentSkillUpdateSchema: z.ZodObject<{
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
  agentId: z.ZodOptional<z.ZodString>;
  projectId: z.ZodOptional<z.ZodString>;
  tenantId: z.ZodOptional<z.ZodString>;
  id: z.ZodOptional<z.ZodString>;
  subAgentId: z.ZodOptional<z.ZodString>;
  skillId: z.ZodOptional<z.ZodString>;
  index: z.ZodOptional<z.ZodInt>;
  alwaysLoaded: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
}, {
  out: {};
  in: {};
}>;
declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
  id: z.ZodString;
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  subAgentId: z.ZodString;
  index: z.ZodInt;
  alwaysLoaded: z.ZodBoolean;
  skillId: z.ZodString;
}, z.core.$strip>;
declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
  agentId: z.ZodString;
  subAgentId: z.ZodString;
  index: z.ZodInt;
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
  skillId: z.ZodString;
}, {
  out: {};
  in: {};
}>;
declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
}, z.core.$strip>;
declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
  id: z.ZodString;
  name: z.ZodString;
  description: z.ZodString;
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
  content: z.ZodString;
  subAgentSkillId: z.ZodString;
  subAgentId: z.ZodString;
  index: z.ZodInt;
  alwaysLoaded: z.ZodBoolean;
}, z.core.$strip>;
declare const SkillFileResponse: z.ZodObject<{
  data: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodString;
    updatedAt: z.ZodString;
    content: z.ZodString;
    filePath: z.ZodString;
    skillId: z.ZodString;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const SkillWithFilesResponse: z.ZodObject<{
  data: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    createdAt: z.ZodString;
    updatedAt: z.ZodString;
    metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
    content: z.ZodString;
    files: z.ZodArray<z.ZodObject<{
      id: z.ZodString;
      createdAt: z.ZodString;
      updatedAt: z.ZodString;
      content: z.ZodString;
      filePath: z.ZodString;
      skillId: z.ZodString;
    }, z.core.$strip>>;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const SkillListResponse: z.ZodObject<{
  data: z.ZodArray<z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    createdAt: z.ZodString;
    updatedAt: z.ZodString;
    metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
    content: z.ZodString;
  }, z.core.$strip>>;
  pagination: z.ZodObject<{
    page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
    limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
    total: z.ZodNumber;
    pages: z.ZodNumber;
    completedCount: z.ZodOptional<z.ZodNumber>;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const SubAgentSkillResponse: z.ZodObject<{
  data: z.ZodObject<{
    id: z.ZodString;
    createdAt: z.ZodString;
    updatedAt: z.ZodString;
    subAgentId: z.ZodString;
    index: z.ZodInt;
    alwaysLoaded: z.ZodBoolean;
    skillId: z.ZodString;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
  data: z.ZodArray<z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodString;
    createdAt: z.ZodString;
    updatedAt: z.ZodString;
    metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
    content: z.ZodString;
    subAgentSkillId: z.ZodString;
    subAgentId: z.ZodString;
    index: z.ZodInt;
    alwaysLoaded: z.ZodBoolean;
  }, z.core.$strip>>;
}, z.core.$strip>;
//#endregion
export { SkillApiInsertSchema, SkillApiSelectSchema, SkillApiUpdateSchema, SkillFileApiInsertSchema, SkillFileApiSelectSchema, SkillFileApiUpdateSchema, SkillFileContentInputSchema, SkillFileInsertSchema, SkillFileResponse, SkillFileSelectSchema, SkillFrontmatterSchema, SkillIndexSchema, SkillInsertSchema, SkillListResponse, SkillSelectSchema, SkillUpdateSchema, SkillWithFilesApiSelectSchema, SkillWithFilesResponse, SubAgentSkillApiInsertSchema, SubAgentSkillApiSelectSchema, SubAgentSkillApiUpdateSchema, SubAgentSkillInsertSchema, SubAgentSkillResponse, SubAgentSkillSelectSchema, SubAgentSkillUpdateSchema, SubAgentSkillWithIndexArrayResponse, SubAgentSkillWithIndexSchema };