import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { Ack } from "./common.js";
import { ReasonCode } from "./common.js";
import { Timestamp } from "../../google/protobuf/timestamp.js";
import { Struct } from "../../google/protobuf/struct.js";
import { WorkspaceBindingAttachment } from "./common.js";
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeRequestContext
 */
export interface KnowledgeRequestContext {
    /**
     * @generated from protobuf field: string app_id = 1
     */
    appId: string;
    /**
     * @generated from protobuf field: string subject_user_id = 2
     */
    subjectUserId: string;
    /**
     * @generated from protobuf field: nimi.runtime.v1.WorkspaceBindingAttachment workspace_binding = 3
     */
    workspaceBinding?: WorkspaceBindingAttachment;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeAppPrivateOwner
 */
export interface KnowledgeAppPrivateOwner {
    /**
     * @generated from protobuf field: string app_id = 1
     */
    appId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeWorkspacePrivateOwner
 */
export interface KnowledgeWorkspacePrivateOwner {
    /**
     * @generated from protobuf field: string workspace_id = 1
     */
    workspaceId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeBankLocator
 */
export interface KnowledgeBankLocator {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeBankScope scope = 1
     */
    scope: KnowledgeBankScope;
    /**
     * @generated from protobuf oneof: owner
     */
    owner: {
        oneofKind: "appPrivate";
        /**
         * @generated from protobuf field: nimi.runtime.v1.KnowledgeAppPrivateOwner app_private = 2
         */
        appPrivate: KnowledgeAppPrivateOwner;
    } | {
        oneofKind: "workspacePrivate";
        /**
         * @generated from protobuf field: nimi.runtime.v1.KnowledgeWorkspacePrivateOwner workspace_private = 3
         */
        workspacePrivate: KnowledgeWorkspacePrivateOwner;
    } | {
        oneofKind: undefined;
    };
}
/**
 * @generated from protobuf message nimi.runtime.v1.PublicKnowledgeBankLocator
 */
export interface PublicKnowledgeBankLocator {
    /**
     * @generated from protobuf oneof: locator
     */
    locator: {
        oneofKind: "appPrivate";
        /**
         * @generated from protobuf field: nimi.runtime.v1.KnowledgeAppPrivateOwner app_private = 1
         */
        appPrivate: KnowledgeAppPrivateOwner;
    } | {
        oneofKind: "workspacePrivate";
        /**
         * @generated from protobuf field: nimi.runtime.v1.KnowledgeWorkspacePrivateOwner workspace_private = 2
         */
        workspacePrivate: KnowledgeWorkspacePrivateOwner;
    } | {
        oneofKind: undefined;
    };
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeBankOwnerFilter
 */
export interface KnowledgeBankOwnerFilter {
    /**
     * @generated from protobuf oneof: owner
     */
    owner: {
        oneofKind: "appPrivate";
        /**
         * @generated from protobuf field: nimi.runtime.v1.KnowledgeAppPrivateOwner app_private = 1
         */
        appPrivate: KnowledgeAppPrivateOwner;
    } | {
        oneofKind: "workspacePrivate";
        /**
         * @generated from protobuf field: nimi.runtime.v1.KnowledgeWorkspacePrivateOwner workspace_private = 2
         */
        workspacePrivate: KnowledgeWorkspacePrivateOwner;
    } | {
        oneofKind: undefined;
    };
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeBank
 */
export interface KnowledgeBank {
    /**
     * @generated from protobuf field: string bank_id = 1
     */
    bankId: string;
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeBankLocator locator = 2
     */
    locator?: KnowledgeBankLocator;
    /**
     * @generated from protobuf field: string display_name = 3
     */
    displayName: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 4
     */
    metadata?: Struct;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp created_at = 5
     */
    createdAt?: Timestamp;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp updated_at = 6
     */
    updatedAt?: Timestamp;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgePage
 */
export interface KnowledgePage {
    /**
     * @generated from protobuf field: string page_id = 1
     */
    pageId: string;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string slug = 3
     */
    slug: string;
    /**
     * @generated from protobuf field: string title = 4
     */
    title: string;
    /**
     * @generated from protobuf field: string content = 5
     */
    content: string;
    /**
     * @generated from protobuf field: string entity_type = 6
     */
    entityType: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 7
     */
    metadata?: Struct;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp created_at = 8
     */
    createdAt?: Timestamp;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp updated_at = 9
     */
    updatedAt?: Timestamp;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeKeywordHit
 */
export interface KnowledgeKeywordHit {
    /**
     * @generated from protobuf field: string bank_id = 1
     */
    bankId: string;
    /**
     * @generated from protobuf field: string page_id = 2
     */
    pageId: string;
    /**
     * @generated from protobuf field: string slug = 3
     */
    slug: string;
    /**
     * @generated from protobuf field: string title = 4
     */
    title: string;
    /**
     * @generated from protobuf field: string snippet = 5
     */
    snippet: string;
    /**
     * @generated from protobuf field: float score = 6
     */
    score: number;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 7
     */
    metadata?: Struct;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeLink
 */
export interface KnowledgeLink {
    /**
     * @generated from protobuf field: string link_id = 1
     */
    linkId: string;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string from_page_id = 3
     */
    fromPageId: string;
    /**
     * @generated from protobuf field: string to_page_id = 4
     */
    toPageId: string;
    /**
     * @generated from protobuf field: string link_type = 5
     */
    linkType: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 6
     */
    metadata?: Struct;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp created_at = 7
     */
    createdAt?: Timestamp;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp updated_at = 8
     */
    updatedAt?: Timestamp;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeGraphEdge
 */
export interface KnowledgeGraphEdge {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeLink link = 1
     */
    link?: KnowledgeLink;
    /**
     * @generated from protobuf field: string from_slug = 2
     */
    fromSlug: string;
    /**
     * @generated from protobuf field: string from_title = 3
     */
    fromTitle: string;
    /**
     * @generated from protobuf field: string from_entity_type = 4
     */
    fromEntityType: string;
    /**
     * @generated from protobuf field: string to_slug = 5
     */
    toSlug: string;
    /**
     * @generated from protobuf field: string to_title = 6
     */
    toTitle: string;
    /**
     * @generated from protobuf field: string to_entity_type = 7
     */
    toEntityType: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeGraphNode
 */
export interface KnowledgeGraphNode {
    /**
     * @generated from protobuf field: string bank_id = 1
     */
    bankId: string;
    /**
     * @generated from protobuf field: string page_id = 2
     */
    pageId: string;
    /**
     * @generated from protobuf field: string slug = 3
     */
    slug: string;
    /**
     * @generated from protobuf field: string title = 4
     */
    title: string;
    /**
     * @generated from protobuf field: string entity_type = 5
     */
    entityType: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 6
     */
    metadata?: Struct;
    /**
     * @generated from protobuf field: int32 depth = 7
     */
    depth: number;
}
/**
 * @generated from protobuf message nimi.runtime.v1.KnowledgeIngestTask
 */
export interface KnowledgeIngestTask {
    /**
     * @generated from protobuf field: string task_id = 1
     */
    taskId: string;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string page_id = 3
     */
    pageId: string;
    /**
     * @generated from protobuf field: string slug = 4
     */
    slug: string;
    /**
     * @generated from protobuf field: string title = 5
     */
    title: string;
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeIngestTaskStatus status = 6
     */
    status: KnowledgeIngestTaskStatus;
    /**
     * @generated from protobuf field: int32 progress_percent = 7
     */
    progressPercent: number;
    /**
     * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 8
     */
    reasonCode: ReasonCode;
    /**
     * @generated from protobuf field: string action_hint = 9
     */
    actionHint: string;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp created_at = 10
     */
    createdAt?: Timestamp;
    /**
     * @generated from protobuf field: google.protobuf.Timestamp updated_at = 11
     */
    updatedAt?: Timestamp;
}
/**
 * @generated from protobuf message nimi.runtime.v1.CreateKnowledgeBankRequest
 */
export interface CreateKnowledgeBankRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: nimi.runtime.v1.PublicKnowledgeBankLocator locator = 2
     */
    locator?: PublicKnowledgeBankLocator;
    /**
     * @generated from protobuf field: string display_name = 3
     */
    displayName: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 4
     */
    metadata?: Struct;
}
/**
 * @generated from protobuf message nimi.runtime.v1.CreateKnowledgeBankResponse
 */
export interface CreateKnowledgeBankResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeBank bank = 1
     */
    bank?: KnowledgeBank;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetKnowledgeBankRequest
 */
export interface GetKnowledgeBankRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetKnowledgeBankResponse
 */
export interface GetKnowledgeBankResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeBank bank = 1
     */
    bank?: KnowledgeBank;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListKnowledgeBanksRequest
 */
export interface ListKnowledgeBanksRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeBankScope scope_filters = 2
     */
    scopeFilters: KnowledgeBankScope[];
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeBankOwnerFilter owner_filters = 3
     */
    ownerFilters: KnowledgeBankOwnerFilter[];
    /**
     * @generated from protobuf field: int32 page_size = 4
     */
    pageSize: number;
    /**
     * @generated from protobuf field: string page_token = 5
     */
    pageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListKnowledgeBanksResponse
 */
export interface ListKnowledgeBanksResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeBank banks = 1
     */
    banks: KnowledgeBank[];
    /**
     * @generated from protobuf field: string next_page_token = 2
     */
    nextPageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.DeleteKnowledgeBankRequest
 */
export interface DeleteKnowledgeBankRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.DeleteKnowledgeBankResponse
 */
export interface DeleteKnowledgeBankResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.Ack ack = 1
     */
    ack?: Ack;
}
/**
 * @generated from protobuf message nimi.runtime.v1.PutPageRequest
 */
export interface PutPageRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string page_id = 3
     */
    pageId: string;
    /**
     * @generated from protobuf field: string slug = 4
     */
    slug: string;
    /**
     * @generated from protobuf field: string title = 5
     */
    title: string;
    /**
     * @generated from protobuf field: string content = 6
     */
    content: string;
    /**
     * @generated from protobuf field: string entity_type = 7
     */
    entityType: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 8
     */
    metadata?: Struct;
}
/**
 * @generated from protobuf message nimi.runtime.v1.PutPageResponse
 */
export interface PutPageResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgePage page = 1
     */
    page?: KnowledgePage;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetPageRequest
 */
export interface GetPageRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf oneof: lookup
     */
    lookup: {
        oneofKind: "pageId";
        /**
         * @generated from protobuf field: string page_id = 3
         */
        pageId: string;
    } | {
        oneofKind: "slug";
        /**
         * @generated from protobuf field: string slug = 4
         */
        slug: string;
    } | {
        oneofKind: undefined;
    };
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetPageResponse
 */
export interface GetPageResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgePage page = 1
     */
    page?: KnowledgePage;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListPagesRequest
 */
export interface ListPagesRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: repeated string entity_type_filters = 3
     */
    entityTypeFilters: string[];
    /**
     * @generated from protobuf field: string slug_prefix = 4
     */
    slugPrefix: string;
    /**
     * @generated from protobuf field: int32 page_size = 5
     */
    pageSize: number;
    /**
     * @generated from protobuf field: string page_token = 6
     */
    pageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListPagesResponse
 */
export interface ListPagesResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgePage pages = 1
     */
    pages: KnowledgePage[];
    /**
     * @generated from protobuf field: string next_page_token = 2
     */
    nextPageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.DeletePageRequest
 */
export interface DeletePageRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf oneof: lookup
     */
    lookup: {
        oneofKind: "pageId";
        /**
         * @generated from protobuf field: string page_id = 3
         */
        pageId: string;
    } | {
        oneofKind: "slug";
        /**
         * @generated from protobuf field: string slug = 4
         */
        slug: string;
    } | {
        oneofKind: undefined;
    };
}
/**
 * @generated from protobuf message nimi.runtime.v1.DeletePageResponse
 */
export interface DeletePageResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.Ack ack = 1
     */
    ack?: Ack;
}
/**
 * @generated from protobuf message nimi.runtime.v1.SearchKeywordRequest
 */
export interface SearchKeywordRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: repeated string bank_ids = 2
     */
    bankIds: string[];
    /**
     * @generated from protobuf field: string query = 3
     */
    query: string;
    /**
     * @generated from protobuf field: int32 top_k = 4
     */
    topK: number;
    /**
     * @generated from protobuf field: repeated string entity_type_filters = 5
     */
    entityTypeFilters: string[];
    /**
     * @generated from protobuf field: string slug_prefix = 6
     */
    slugPrefix: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.SearchKeywordResponse
 */
export interface SearchKeywordResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeKeywordHit hits = 1
     */
    hits: KnowledgeKeywordHit[];
    /**
     * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 2
     */
    reasonCode: ReasonCode;
}
/**
 * @generated from protobuf message nimi.runtime.v1.SearchHybridRequest
 */
export interface SearchHybridRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string query = 3
     */
    query: string;
    /**
     * @generated from protobuf field: repeated string entity_type_filters = 4
     */
    entityTypeFilters: string[];
    /**
     * @generated from protobuf field: int32 page_size = 5
     */
    pageSize: number;
    /**
     * @generated from protobuf field: string page_token = 6
     */
    pageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.SearchHybridResponse
 */
export interface SearchHybridResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeKeywordHit hits = 1
     */
    hits: KnowledgeKeywordHit[];
    /**
     * @generated from protobuf field: string next_page_token = 2
     */
    nextPageToken: string;
    /**
     * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 3
     */
    reasonCode: ReasonCode;
}
/**
 * @generated from protobuf message nimi.runtime.v1.AddLinkRequest
 */
export interface AddLinkRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string from_page_id = 3
     */
    fromPageId: string;
    /**
     * @generated from protobuf field: string to_page_id = 4
     */
    toPageId: string;
    /**
     * @generated from protobuf field: string link_type = 5
     */
    linkType: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 6
     */
    metadata?: Struct;
}
/**
 * @generated from protobuf message nimi.runtime.v1.AddLinkResponse
 */
export interface AddLinkResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeLink link = 1
     */
    link?: KnowledgeLink;
}
/**
 * @generated from protobuf message nimi.runtime.v1.RemoveLinkRequest
 */
export interface RemoveLinkRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string link_id = 3
     */
    linkId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.RemoveLinkResponse
 */
export interface RemoveLinkResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.Ack ack = 1
     */
    ack?: Ack;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListLinksRequest
 */
export interface ListLinksRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string from_page_id = 3
     */
    fromPageId: string;
    /**
     * @generated from protobuf field: repeated string link_type_filters = 4
     */
    linkTypeFilters: string[];
    /**
     * @generated from protobuf field: int32 page_size = 5
     */
    pageSize: number;
    /**
     * @generated from protobuf field: string page_token = 6
     */
    pageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListLinksResponse
 */
export interface ListLinksResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeGraphEdge links = 1
     */
    links: KnowledgeGraphEdge[];
    /**
     * @generated from protobuf field: string next_page_token = 2
     */
    nextPageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListBacklinksRequest
 */
export interface ListBacklinksRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string to_page_id = 3
     */
    toPageId: string;
    /**
     * @generated from protobuf field: repeated string link_type_filters = 4
     */
    linkTypeFilters: string[];
    /**
     * @generated from protobuf field: int32 page_size = 5
     */
    pageSize: number;
    /**
     * @generated from protobuf field: string page_token = 6
     */
    pageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ListBacklinksResponse
 */
export interface ListBacklinksResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeGraphEdge backlinks = 1
     */
    backlinks: KnowledgeGraphEdge[];
    /**
     * @generated from protobuf field: string next_page_token = 2
     */
    nextPageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.TraverseGraphRequest
 */
export interface TraverseGraphRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string root_page_id = 3
     */
    rootPageId: string;
    /**
     * @generated from protobuf field: repeated string link_type_filters = 4
     */
    linkTypeFilters: string[];
    /**
     * @generated from protobuf field: int32 max_depth = 5
     */
    maxDepth: number;
    /**
     * @generated from protobuf field: int32 page_size = 6
     */
    pageSize: number;
    /**
     * @generated from protobuf field: string page_token = 7
     */
    pageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.TraverseGraphResponse
 */
export interface TraverseGraphResponse {
    /**
     * @generated from protobuf field: repeated nimi.runtime.v1.KnowledgeGraphNode nodes = 1
     */
    nodes: KnowledgeGraphNode[];
    /**
     * @generated from protobuf field: string next_page_token = 2
     */
    nextPageToken: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.IngestDocumentRequest
 */
export interface IngestDocumentRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string bank_id = 2
     */
    bankId: string;
    /**
     * @generated from protobuf field: string page_id = 3
     */
    pageId: string;
    /**
     * @generated from protobuf field: string slug = 4
     */
    slug: string;
    /**
     * @generated from protobuf field: string title = 5
     */
    title: string;
    /**
     * @generated from protobuf field: string content = 6
     */
    content: string;
    /**
     * @generated from protobuf field: string entity_type = 7
     */
    entityType: string;
    /**
     * @generated from protobuf field: google.protobuf.Struct metadata = 8
     */
    metadata?: Struct;
}
/**
 * @generated from protobuf message nimi.runtime.v1.IngestDocumentResponse
 */
export interface IngestDocumentResponse {
    /**
     * @generated from protobuf field: string task_id = 1
     */
    taskId: string;
    /**
     * @generated from protobuf field: bool accepted = 2
     */
    accepted: boolean;
    /**
     * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 3
     */
    reasonCode: ReasonCode;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetIngestTaskRequest
 */
export interface GetIngestTaskRequest {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeRequestContext context = 1
     */
    context?: KnowledgeRequestContext;
    /**
     * @generated from protobuf field: string task_id = 2
     */
    taskId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.GetIngestTaskResponse
 */
export interface GetIngestTaskResponse {
    /**
     * @generated from protobuf field: nimi.runtime.v1.KnowledgeIngestTask task = 1
     */
    task?: KnowledgeIngestTask;
}
/**
 * @generated from protobuf enum nimi.runtime.v1.KnowledgeBankScope
 */
export declare enum KnowledgeBankScope {
    /**
     * @generated from protobuf enum value: KNOWLEDGE_BANK_SCOPE_UNSPECIFIED = 0;
     */
    UNSPECIFIED = 0,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_BANK_SCOPE_APP_PRIVATE = 1;
     */
    APP_PRIVATE = 1,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_BANK_SCOPE_WORKSPACE_PRIVATE = 2;
     */
    WORKSPACE_PRIVATE = 2
}
/**
 * @generated from protobuf enum nimi.runtime.v1.KnowledgeIngestTaskStatus
 */
export declare enum KnowledgeIngestTaskStatus {
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INGEST_TASK_STATUS_UNSPECIFIED = 0;
     */
    UNSPECIFIED = 0,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INGEST_TASK_STATUS_QUEUED = 1;
     */
    QUEUED = 1,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INGEST_TASK_STATUS_RUNNING = 2;
     */
    RUNNING = 2,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INGEST_TASK_STATUS_COMPLETED = 3;
     */
    COMPLETED = 3,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INGEST_TASK_STATUS_FAILED = 4;
     */
    FAILED = 4
}
declare class KnowledgeRequestContext$Type extends MessageType<KnowledgeRequestContext> {
    constructor();
    create(value?: PartialMessage<KnowledgeRequestContext>): KnowledgeRequestContext;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeRequestContext): KnowledgeRequestContext;
    internalBinaryWrite(message: KnowledgeRequestContext, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeRequestContext
 */
export declare const KnowledgeRequestContext: KnowledgeRequestContext$Type;
declare class KnowledgeAppPrivateOwner$Type extends MessageType<KnowledgeAppPrivateOwner> {
    constructor();
    create(value?: PartialMessage<KnowledgeAppPrivateOwner>): KnowledgeAppPrivateOwner;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeAppPrivateOwner): KnowledgeAppPrivateOwner;
    internalBinaryWrite(message: KnowledgeAppPrivateOwner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeAppPrivateOwner
 */
export declare const KnowledgeAppPrivateOwner: KnowledgeAppPrivateOwner$Type;
declare class KnowledgeWorkspacePrivateOwner$Type extends MessageType<KnowledgeWorkspacePrivateOwner> {
    constructor();
    create(value?: PartialMessage<KnowledgeWorkspacePrivateOwner>): KnowledgeWorkspacePrivateOwner;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeWorkspacePrivateOwner): KnowledgeWorkspacePrivateOwner;
    internalBinaryWrite(message: KnowledgeWorkspacePrivateOwner, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeWorkspacePrivateOwner
 */
export declare const KnowledgeWorkspacePrivateOwner: KnowledgeWorkspacePrivateOwner$Type;
declare class KnowledgeBankLocator$Type extends MessageType<KnowledgeBankLocator> {
    constructor();
    create(value?: PartialMessage<KnowledgeBankLocator>): KnowledgeBankLocator;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeBankLocator): KnowledgeBankLocator;
    internalBinaryWrite(message: KnowledgeBankLocator, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeBankLocator
 */
export declare const KnowledgeBankLocator: KnowledgeBankLocator$Type;
declare class PublicKnowledgeBankLocator$Type extends MessageType<PublicKnowledgeBankLocator> {
    constructor();
    create(value?: PartialMessage<PublicKnowledgeBankLocator>): PublicKnowledgeBankLocator;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PublicKnowledgeBankLocator): PublicKnowledgeBankLocator;
    internalBinaryWrite(message: PublicKnowledgeBankLocator, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.PublicKnowledgeBankLocator
 */
export declare const PublicKnowledgeBankLocator: PublicKnowledgeBankLocator$Type;
declare class KnowledgeBankOwnerFilter$Type extends MessageType<KnowledgeBankOwnerFilter> {
    constructor();
    create(value?: PartialMessage<KnowledgeBankOwnerFilter>): KnowledgeBankOwnerFilter;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeBankOwnerFilter): KnowledgeBankOwnerFilter;
    internalBinaryWrite(message: KnowledgeBankOwnerFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeBankOwnerFilter
 */
export declare const KnowledgeBankOwnerFilter: KnowledgeBankOwnerFilter$Type;
declare class KnowledgeBank$Type extends MessageType<KnowledgeBank> {
    constructor();
    create(value?: PartialMessage<KnowledgeBank>): KnowledgeBank;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeBank): KnowledgeBank;
    internalBinaryWrite(message: KnowledgeBank, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeBank
 */
export declare const KnowledgeBank: KnowledgeBank$Type;
declare class KnowledgePage$Type extends MessageType<KnowledgePage> {
    constructor();
    create(value?: PartialMessage<KnowledgePage>): KnowledgePage;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgePage): KnowledgePage;
    internalBinaryWrite(message: KnowledgePage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgePage
 */
export declare const KnowledgePage: KnowledgePage$Type;
declare class KnowledgeKeywordHit$Type extends MessageType<KnowledgeKeywordHit> {
    constructor();
    create(value?: PartialMessage<KnowledgeKeywordHit>): KnowledgeKeywordHit;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeKeywordHit): KnowledgeKeywordHit;
    internalBinaryWrite(message: KnowledgeKeywordHit, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeKeywordHit
 */
export declare const KnowledgeKeywordHit: KnowledgeKeywordHit$Type;
declare class KnowledgeLink$Type extends MessageType<KnowledgeLink> {
    constructor();
    create(value?: PartialMessage<KnowledgeLink>): KnowledgeLink;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeLink): KnowledgeLink;
    internalBinaryWrite(message: KnowledgeLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeLink
 */
export declare const KnowledgeLink: KnowledgeLink$Type;
declare class KnowledgeGraphEdge$Type extends MessageType<KnowledgeGraphEdge> {
    constructor();
    create(value?: PartialMessage<KnowledgeGraphEdge>): KnowledgeGraphEdge;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeGraphEdge): KnowledgeGraphEdge;
    internalBinaryWrite(message: KnowledgeGraphEdge, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeGraphEdge
 */
export declare const KnowledgeGraphEdge: KnowledgeGraphEdge$Type;
declare class KnowledgeGraphNode$Type extends MessageType<KnowledgeGraphNode> {
    constructor();
    create(value?: PartialMessage<KnowledgeGraphNode>): KnowledgeGraphNode;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeGraphNode): KnowledgeGraphNode;
    internalBinaryWrite(message: KnowledgeGraphNode, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeGraphNode
 */
export declare const KnowledgeGraphNode: KnowledgeGraphNode$Type;
declare class KnowledgeIngestTask$Type extends MessageType<KnowledgeIngestTask> {
    constructor();
    create(value?: PartialMessage<KnowledgeIngestTask>): KnowledgeIngestTask;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KnowledgeIngestTask): KnowledgeIngestTask;
    internalBinaryWrite(message: KnowledgeIngestTask, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.KnowledgeIngestTask
 */
export declare const KnowledgeIngestTask: KnowledgeIngestTask$Type;
declare class CreateKnowledgeBankRequest$Type extends MessageType<CreateKnowledgeBankRequest> {
    constructor();
    create(value?: PartialMessage<CreateKnowledgeBankRequest>): CreateKnowledgeBankRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateKnowledgeBankRequest): CreateKnowledgeBankRequest;
    internalBinaryWrite(message: CreateKnowledgeBankRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.CreateKnowledgeBankRequest
 */
export declare const CreateKnowledgeBankRequest: CreateKnowledgeBankRequest$Type;
declare class CreateKnowledgeBankResponse$Type extends MessageType<CreateKnowledgeBankResponse> {
    constructor();
    create(value?: PartialMessage<CreateKnowledgeBankResponse>): CreateKnowledgeBankResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateKnowledgeBankResponse): CreateKnowledgeBankResponse;
    internalBinaryWrite(message: CreateKnowledgeBankResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.CreateKnowledgeBankResponse
 */
export declare const CreateKnowledgeBankResponse: CreateKnowledgeBankResponse$Type;
declare class GetKnowledgeBankRequest$Type extends MessageType<GetKnowledgeBankRequest> {
    constructor();
    create(value?: PartialMessage<GetKnowledgeBankRequest>): GetKnowledgeBankRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetKnowledgeBankRequest): GetKnowledgeBankRequest;
    internalBinaryWrite(message: GetKnowledgeBankRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetKnowledgeBankRequest
 */
export declare const GetKnowledgeBankRequest: GetKnowledgeBankRequest$Type;
declare class GetKnowledgeBankResponse$Type extends MessageType<GetKnowledgeBankResponse> {
    constructor();
    create(value?: PartialMessage<GetKnowledgeBankResponse>): GetKnowledgeBankResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetKnowledgeBankResponse): GetKnowledgeBankResponse;
    internalBinaryWrite(message: GetKnowledgeBankResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetKnowledgeBankResponse
 */
export declare const GetKnowledgeBankResponse: GetKnowledgeBankResponse$Type;
declare class ListKnowledgeBanksRequest$Type extends MessageType<ListKnowledgeBanksRequest> {
    constructor();
    create(value?: PartialMessage<ListKnowledgeBanksRequest>): ListKnowledgeBanksRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListKnowledgeBanksRequest): ListKnowledgeBanksRequest;
    internalBinaryWrite(message: ListKnowledgeBanksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListKnowledgeBanksRequest
 */
export declare const ListKnowledgeBanksRequest: ListKnowledgeBanksRequest$Type;
declare class ListKnowledgeBanksResponse$Type extends MessageType<ListKnowledgeBanksResponse> {
    constructor();
    create(value?: PartialMessage<ListKnowledgeBanksResponse>): ListKnowledgeBanksResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListKnowledgeBanksResponse): ListKnowledgeBanksResponse;
    internalBinaryWrite(message: ListKnowledgeBanksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListKnowledgeBanksResponse
 */
export declare const ListKnowledgeBanksResponse: ListKnowledgeBanksResponse$Type;
declare class DeleteKnowledgeBankRequest$Type extends MessageType<DeleteKnowledgeBankRequest> {
    constructor();
    create(value?: PartialMessage<DeleteKnowledgeBankRequest>): DeleteKnowledgeBankRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteKnowledgeBankRequest): DeleteKnowledgeBankRequest;
    internalBinaryWrite(message: DeleteKnowledgeBankRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.DeleteKnowledgeBankRequest
 */
export declare const DeleteKnowledgeBankRequest: DeleteKnowledgeBankRequest$Type;
declare class DeleteKnowledgeBankResponse$Type extends MessageType<DeleteKnowledgeBankResponse> {
    constructor();
    create(value?: PartialMessage<DeleteKnowledgeBankResponse>): DeleteKnowledgeBankResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteKnowledgeBankResponse): DeleteKnowledgeBankResponse;
    internalBinaryWrite(message: DeleteKnowledgeBankResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.DeleteKnowledgeBankResponse
 */
export declare const DeleteKnowledgeBankResponse: DeleteKnowledgeBankResponse$Type;
declare class PutPageRequest$Type extends MessageType<PutPageRequest> {
    constructor();
    create(value?: PartialMessage<PutPageRequest>): PutPageRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PutPageRequest): PutPageRequest;
    internalBinaryWrite(message: PutPageRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.PutPageRequest
 */
export declare const PutPageRequest: PutPageRequest$Type;
declare class PutPageResponse$Type extends MessageType<PutPageResponse> {
    constructor();
    create(value?: PartialMessage<PutPageResponse>): PutPageResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PutPageResponse): PutPageResponse;
    internalBinaryWrite(message: PutPageResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.PutPageResponse
 */
export declare const PutPageResponse: PutPageResponse$Type;
declare class GetPageRequest$Type extends MessageType<GetPageRequest> {
    constructor();
    create(value?: PartialMessage<GetPageRequest>): GetPageRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPageRequest): GetPageRequest;
    internalBinaryWrite(message: GetPageRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetPageRequest
 */
export declare const GetPageRequest: GetPageRequest$Type;
declare class GetPageResponse$Type extends MessageType<GetPageResponse> {
    constructor();
    create(value?: PartialMessage<GetPageResponse>): GetPageResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPageResponse): GetPageResponse;
    internalBinaryWrite(message: GetPageResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetPageResponse
 */
export declare const GetPageResponse: GetPageResponse$Type;
declare class ListPagesRequest$Type extends MessageType<ListPagesRequest> {
    constructor();
    create(value?: PartialMessage<ListPagesRequest>): ListPagesRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPagesRequest): ListPagesRequest;
    internalBinaryWrite(message: ListPagesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListPagesRequest
 */
export declare const ListPagesRequest: ListPagesRequest$Type;
declare class ListPagesResponse$Type extends MessageType<ListPagesResponse> {
    constructor();
    create(value?: PartialMessage<ListPagesResponse>): ListPagesResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListPagesResponse): ListPagesResponse;
    internalBinaryWrite(message: ListPagesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListPagesResponse
 */
export declare const ListPagesResponse: ListPagesResponse$Type;
declare class DeletePageRequest$Type extends MessageType<DeletePageRequest> {
    constructor();
    create(value?: PartialMessage<DeletePageRequest>): DeletePageRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeletePageRequest): DeletePageRequest;
    internalBinaryWrite(message: DeletePageRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.DeletePageRequest
 */
export declare const DeletePageRequest: DeletePageRequest$Type;
declare class DeletePageResponse$Type extends MessageType<DeletePageResponse> {
    constructor();
    create(value?: PartialMessage<DeletePageResponse>): DeletePageResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeletePageResponse): DeletePageResponse;
    internalBinaryWrite(message: DeletePageResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.DeletePageResponse
 */
export declare const DeletePageResponse: DeletePageResponse$Type;
declare class SearchKeywordRequest$Type extends MessageType<SearchKeywordRequest> {
    constructor();
    create(value?: PartialMessage<SearchKeywordRequest>): SearchKeywordRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SearchKeywordRequest): SearchKeywordRequest;
    internalBinaryWrite(message: SearchKeywordRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.SearchKeywordRequest
 */
export declare const SearchKeywordRequest: SearchKeywordRequest$Type;
declare class SearchKeywordResponse$Type extends MessageType<SearchKeywordResponse> {
    constructor();
    create(value?: PartialMessage<SearchKeywordResponse>): SearchKeywordResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SearchKeywordResponse): SearchKeywordResponse;
    internalBinaryWrite(message: SearchKeywordResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.SearchKeywordResponse
 */
export declare const SearchKeywordResponse: SearchKeywordResponse$Type;
declare class SearchHybridRequest$Type extends MessageType<SearchHybridRequest> {
    constructor();
    create(value?: PartialMessage<SearchHybridRequest>): SearchHybridRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SearchHybridRequest): SearchHybridRequest;
    internalBinaryWrite(message: SearchHybridRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.SearchHybridRequest
 */
export declare const SearchHybridRequest: SearchHybridRequest$Type;
declare class SearchHybridResponse$Type extends MessageType<SearchHybridResponse> {
    constructor();
    create(value?: PartialMessage<SearchHybridResponse>): SearchHybridResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SearchHybridResponse): SearchHybridResponse;
    internalBinaryWrite(message: SearchHybridResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.SearchHybridResponse
 */
export declare const SearchHybridResponse: SearchHybridResponse$Type;
declare class AddLinkRequest$Type extends MessageType<AddLinkRequest> {
    constructor();
    create(value?: PartialMessage<AddLinkRequest>): AddLinkRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AddLinkRequest): AddLinkRequest;
    internalBinaryWrite(message: AddLinkRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.AddLinkRequest
 */
export declare const AddLinkRequest: AddLinkRequest$Type;
declare class AddLinkResponse$Type extends MessageType<AddLinkResponse> {
    constructor();
    create(value?: PartialMessage<AddLinkResponse>): AddLinkResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AddLinkResponse): AddLinkResponse;
    internalBinaryWrite(message: AddLinkResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.AddLinkResponse
 */
export declare const AddLinkResponse: AddLinkResponse$Type;
declare class RemoveLinkRequest$Type extends MessageType<RemoveLinkRequest> {
    constructor();
    create(value?: PartialMessage<RemoveLinkRequest>): RemoveLinkRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveLinkRequest): RemoveLinkRequest;
    internalBinaryWrite(message: RemoveLinkRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.RemoveLinkRequest
 */
export declare const RemoveLinkRequest: RemoveLinkRequest$Type;
declare class RemoveLinkResponse$Type extends MessageType<RemoveLinkResponse> {
    constructor();
    create(value?: PartialMessage<RemoveLinkResponse>): RemoveLinkResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RemoveLinkResponse): RemoveLinkResponse;
    internalBinaryWrite(message: RemoveLinkResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.RemoveLinkResponse
 */
export declare const RemoveLinkResponse: RemoveLinkResponse$Type;
declare class ListLinksRequest$Type extends MessageType<ListLinksRequest> {
    constructor();
    create(value?: PartialMessage<ListLinksRequest>): ListLinksRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListLinksRequest): ListLinksRequest;
    internalBinaryWrite(message: ListLinksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListLinksRequest
 */
export declare const ListLinksRequest: ListLinksRequest$Type;
declare class ListLinksResponse$Type extends MessageType<ListLinksResponse> {
    constructor();
    create(value?: PartialMessage<ListLinksResponse>): ListLinksResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListLinksResponse): ListLinksResponse;
    internalBinaryWrite(message: ListLinksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListLinksResponse
 */
export declare const ListLinksResponse: ListLinksResponse$Type;
declare class ListBacklinksRequest$Type extends MessageType<ListBacklinksRequest> {
    constructor();
    create(value?: PartialMessage<ListBacklinksRequest>): ListBacklinksRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListBacklinksRequest): ListBacklinksRequest;
    internalBinaryWrite(message: ListBacklinksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListBacklinksRequest
 */
export declare const ListBacklinksRequest: ListBacklinksRequest$Type;
declare class ListBacklinksResponse$Type extends MessageType<ListBacklinksResponse> {
    constructor();
    create(value?: PartialMessage<ListBacklinksResponse>): ListBacklinksResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListBacklinksResponse): ListBacklinksResponse;
    internalBinaryWrite(message: ListBacklinksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ListBacklinksResponse
 */
export declare const ListBacklinksResponse: ListBacklinksResponse$Type;
declare class TraverseGraphRequest$Type extends MessageType<TraverseGraphRequest> {
    constructor();
    create(value?: PartialMessage<TraverseGraphRequest>): TraverseGraphRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TraverseGraphRequest): TraverseGraphRequest;
    internalBinaryWrite(message: TraverseGraphRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.TraverseGraphRequest
 */
export declare const TraverseGraphRequest: TraverseGraphRequest$Type;
declare class TraverseGraphResponse$Type extends MessageType<TraverseGraphResponse> {
    constructor();
    create(value?: PartialMessage<TraverseGraphResponse>): TraverseGraphResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TraverseGraphResponse): TraverseGraphResponse;
    internalBinaryWrite(message: TraverseGraphResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.TraverseGraphResponse
 */
export declare const TraverseGraphResponse: TraverseGraphResponse$Type;
declare class IngestDocumentRequest$Type extends MessageType<IngestDocumentRequest> {
    constructor();
    create(value?: PartialMessage<IngestDocumentRequest>): IngestDocumentRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IngestDocumentRequest): IngestDocumentRequest;
    internalBinaryWrite(message: IngestDocumentRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.IngestDocumentRequest
 */
export declare const IngestDocumentRequest: IngestDocumentRequest$Type;
declare class IngestDocumentResponse$Type extends MessageType<IngestDocumentResponse> {
    constructor();
    create(value?: PartialMessage<IngestDocumentResponse>): IngestDocumentResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: IngestDocumentResponse): IngestDocumentResponse;
    internalBinaryWrite(message: IngestDocumentResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.IngestDocumentResponse
 */
export declare const IngestDocumentResponse: IngestDocumentResponse$Type;
declare class GetIngestTaskRequest$Type extends MessageType<GetIngestTaskRequest> {
    constructor();
    create(value?: PartialMessage<GetIngestTaskRequest>): GetIngestTaskRequest;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetIngestTaskRequest): GetIngestTaskRequest;
    internalBinaryWrite(message: GetIngestTaskRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetIngestTaskRequest
 */
export declare const GetIngestTaskRequest: GetIngestTaskRequest$Type;
declare class GetIngestTaskResponse$Type extends MessageType<GetIngestTaskResponse> {
    constructor();
    create(value?: PartialMessage<GetIngestTaskResponse>): GetIngestTaskResponse;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetIngestTaskResponse): GetIngestTaskResponse;
    internalBinaryWrite(message: GetIngestTaskResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.GetIngestTaskResponse
 */
export declare const GetIngestTaskResponse: GetIngestTaskResponse$Type;
export {};
//# sourceMappingURL=knowledge.d.ts.map