export declare const CURRENT_USER_ID_QUERY = "\nquery CurrentUser {\n currentUser {\n id\n }\n}"; export declare const CURRENT_USER_CODY_PRO_ENABLED_QUERY = "\nquery CurrentUserCodyProEnabled {\n currentUser {\n codyProEnabled\n }\n}"; export declare const CURRENT_USER_CODY_SUBSCRIPTION_QUERY = "\nquery CurrentUserCodySubscription {\n currentUser {\n codySubscription {\n status\n plan\n applyProRateLimits\n currentPeriodStartAt\n currentPeriodEndAt\n }\n }\n}"; export declare const CURRENT_USER_INFO_QUERY = "\nquery CurrentUser {\n currentUser {\n id\n hasVerifiedEmail\n displayName\n username\n avatarURL\n primaryEmail {\n email\n }\n organizations {\n nodes {\n id\n name\n }\n }\n }\n}"; export declare const CURRENT_SITE_VERSION_QUERY = "\nquery SiteProductVersion {\n site {\n productVersion\n }\n}"; export declare const CURRENT_SITE_HAS_CODY_ENABLED_QUERY = "\nquery SiteHasCodyEnabled {\n site {\n isCodyEnabled\n }\n}"; export declare const CURRENT_SITE_GRAPHQL_FIELDS_QUERY = "\nquery SiteGraphQLFields {\n __type(name: \"Site\") {\n fields {\n name\n }\n }\n}"; export declare const CURRENT_SITE_CODY_LLM_PROVIDER = "\nquery CurrentSiteCodyLlmProvider {\n site {\n codyLLMConfiguration {\n provider\n }\n }\n}"; export declare const CURRENT_SITE_CODY_CONFIG_FEATURES = "\nquery CodyConfigFeaturesResponse {\n site {\n codyConfigFeatures {\n chat\n autoComplete\n commands\n attribution\n }\n }\n}"; export declare const CURRENT_SITE_CODY_LLM_CONFIGURATION = "\nquery CurrentSiteCodyLlmConfiguration {\n site {\n codyLLMConfiguration {\n chatModel\n chatModelMaxTokens\n fastChatModel\n fastChatModelMaxTokens\n completionModel\n completionModelMaxTokens\n }\n }\n}"; export declare const CURRENT_SITE_CODY_LLM_CONFIGURATION_SMART_CONTEXT = "\nquery CurrentSiteCodyLlmConfiguration {\n site {\n codyLLMConfiguration {\n smartContextWindow\n }\n }\n}"; export declare const REPOSITORY_LIST_QUERY = "\nquery Repositories($first: Int!, $after: String) {\n repositories(first: $first, after: $after) {\n nodes {\n id\n name\n }\n pageInfo {\n endCursor\n }\n }\n}\n"; export declare const REPOSITORY_SEARCH_QUERY = "\nquery RepositoriesSearch($first: Int!, $after: String, $query: String) {\n repositories(first: $first, after: $after, query: $query) {\n nodes {\n id\n name\n url\n }\n pageInfo {\n endCursor\n }\n }\n}\n"; export declare const FILE_CONTENTS_QUERY = "\nquery FileContentsQuery($repoName: String!, $filePath: String!, $rev: String!) {\n repository(name: $repoName){\n commit(rev: $rev) {\n file(path: $filePath) {\n path\n url\n content\n }\n }\n }\n}"; export declare const FILE_MATCH_SEARCH_QUERY = "\nquery FileMatchSearchQuery($query: String!) {\n search(query: $query, version: V3, patternType: literal) {\n results {\n results {\n __typename\n ... on FileMatch {\n repository {\n name\n }\n file {\n url\n path\n commit {\n oid\n }\n }\n }\n }\n }\n }\n}"; export declare const REPOSITORY_ID_QUERY = "\nquery Repository($name: String!) {\n\trepository(name: $name) {\n\t\tid\n\t}\n}"; export declare const REPOSITORY_IDS_QUERY = "\nquery Repositories($names: [String!]!, $first: Int!) {\n repositories(names: $names, first: $first) {\n nodes {\n name\n id\n }\n }\n }\n"; export declare const CHAT_INTENT_QUERY = "\nquery ChatIntent($query: String!, $interactionId: String!) {\n chatIntent(query: $query, interactionId: $interactionId) {\n intent\n score\n }\n}"; export declare const RECORD_CONTEXT_QUERY = "\nquery RecordContext($interactionId: String!, $usedContextItems: [InputContextItem!]!, $ignoredContextItems: [InputContextItem!]!) {\n recordContext(interactionId: $interactionId, usedContextItems: $usedContextItems, ignoredContextItems: $ignoredContextItems) {\n alwaysNil\n }\n}"; export declare const RANK_CONTEXT_QUERY = "\nquery RankContext($interactionId: String!, $query: String!, $contextItems: [InputContextItem!]!) {\n rankContext(interactionId: $interactionId, query:$query, contextItems: $contextItems) {\n ranker\n used\n ignored\n }\n}"; export declare const CONTEXT_SEARCH_QUERY = "\nquery GetCodyContext($repos: [ID!]!, $query: String!, $codeResultsCount: Int!, $textResultsCount: Int!) {\n\tgetCodyContext(repos: $repos, query: $query, codeResultsCount: $codeResultsCount, textResultsCount: $textResultsCount) {\n ...on FileChunkContext {\n blob {\n path\n repository {\n id\n name\n }\n commit {\n oid\n }\n url\n }\n startLine\n endLine\n chunkContent\n }\n }\n}"; export declare const CONTEXT_FILTERS_QUERY = "\nquery ContextFilters {\n site {\n codyContextFilters(version: V1) {\n raw\n }\n }\n}"; export declare const PROMPTS_QUERY = "\nquery ViewerPrompts($query: String!) {\n prompts(query: $query, first: 100, viewerIsAffiliated: true, orderBy: PROMPT_NAME_WITH_OWNER) {\n nodes {\n id\n name\n nameWithOwner\n owner {\n namespaceName\n }\n description\n draft\n definition {\n text\n }\n url\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}"; export declare const REPO_NAME_QUERY = "\nquery ResolveRepoName($cloneURL: String!) {\n repository(cloneURL: $cloneURL) {\n name\n }\n}\n"; export declare const SEARCH_ATTRIBUTION_QUERY = "\nquery SnippetAttribution($snippet: String!) {\n snippetAttribution(snippet: $snippet) {\n limitHit\n nodes {\n repositoryName\n }\n }\n}"; /** * Deprecated following new event structure: https://github.com/sourcegraph/sourcegraph/pull/55126. */ export declare const LOG_EVENT_MUTATION_DEPRECATED = "\nmutation LogEventMutation($event: String!, $userCookieID: String!, $url: String!, $source: EventSource!, $argument: String, $publicArgument: String) {\n logEvent(\n\t\tevent: $event\n\t\tuserCookieID: $userCookieID\n\t\turl: $url\n\t\tsource: $source\n\t\targument: $argument\n\t\tpublicArgument: $publicArgument\n ) {\n\t\talwaysNil\n\t}\n}"; export declare const LOG_EVENT_MUTATION = "\nmutation LogEventMutation($event: String!, $userCookieID: String!, $url: String!, $source: EventSource!, $argument: String, $publicArgument: String, $client: String, $connectedSiteID: String, $hashedLicenseKey: String) {\n logEvent(\n\t\tevent: $event\n\t\tuserCookieID: $userCookieID\n\t\turl: $url\n\t\tsource: $source\n\t\targument: $argument\n\t\tpublicArgument: $publicArgument\n\t\tclient: $client\n\t\tconnectedSiteID: $connectedSiteID\n\t\thashedLicenseKey: $hashedLicenseKey\n ) {\n\t\talwaysNil\n\t}\n}"; export declare const RECORD_TELEMETRY_EVENTS_MUTATION = "\nmutation RecordTelemetryEvents($events: [TelemetryEventInput!]!) {\n\ttelemetry {\n\t\trecordEvents(events: $events) {\n\t\t\talwaysNil\n\t\t}\n\t}\n}\n"; export declare const CURRENT_SITE_IDENTIFICATION = "\nquery SiteIdentification {\n\tsite {\n\t\tsiteID\n\t\tproductSubscription {\n\t\t\tlicense {\n\t\t\t\thashedKey\n\t\t\t}\n\t\t}\n\t}\n}"; export declare const GET_FEATURE_FLAGS_QUERY = "\n query FeatureFlags {\n evaluatedFeatureFlags {\n name\n value\n }\n }\n"; export declare const EVALUATE_FEATURE_FLAG_QUERY = "\n query EvaluateFeatureFlag($flagName: String!) {\n evaluateFeatureFlag(flagName: $flagName)\n }\n"; export declare const PACKAGE_LIST_QUERY = "\n query Packages($kind: PackageRepoReferenceKind!, $name: String!, $first: Int!, $after: String) {\n packageRepoReferences(kind: $kind, name: $name, first: $first, after: $after) {\n nodes {\n id\n name\n kind\n repository {\n id\n name\n url\n }\n }\n pageInfo {\n endCursor\n }\n }\n }\n"; export declare const FUZZY_FILES_QUERY = "\nquery FuzzyFiles($query: String!) {\n search(patternType: regexp, query: $query) {\n results {\n results {\n ... on FileMatch {\n __typename\n file {\n url\n path\n name\n byteSize\n isDirectory\n }\n repository {\n id\n name\n }\n }\n }\n }\n }\n}\n"; export declare const FUZZY_SYMBOLS_QUERY = "\nquery FuzzySymbols($query: String!) {\n search(patternType: regexp, query: $query) {\n results {\n results {\n ... on FileMatch {\n __typename\n symbols {\n name\n location {\n range {\n start { line }\n end { line }\n }\n resource {\n path\n }\n }\n }\n repository {\n id\n name\n }\n }\n }\n }\n }\n}\n"; export declare const GET_REMOTE_FILE_QUERY = "\nquery GetRemoteFileQuery($repositoryName: String!, $filePath: String!, $startLine: Int, $endLine: Int) {\n repository(name: $repositoryName) {\n id\n commit(rev: \"HEAD\") {\n id\n oid\n blob(path: $filePath) {\n content(startLine:$startLine endLine:$endLine)\n }\n }\n }\n}\n"; //# sourceMappingURL=queries.d.ts.map